Aayush
2a6d0e5f6e
fix: pubsub: do not treat ErrExistingNonce as Reject
2023-06-13 10:13:24 -04:00
Aayush Rajasekaran
0ec2acbf20
Merge pull request #10652 from filecoin-project/asr/mpool-fee-too-low
...
feat: pubsub: treat ErrGasFeeCapTooLow as ignore, not reject
2023-05-29 12:53:38 -04:00
gammazero
f35fa5757a
Replace use of storetheindex with go-libipni
2023-05-17 11:41:00 -07:00
Steven Allen
bb5ba64cca
Revert "Merge pull request #9858 from adlrocha/adlrocha/consistent-bcast"
...
This reverts commit 8b2208fd9a
, reversing
changes made to 2db6b12b78
.
Unfortunately, this is rather tricky code. We've found several issues so
far and, while we've fixed a few, there are outstanding issues that
would require complex fixes we don't have time to tackle right now.
Luckily, this code isn't actually needed by the main Filecoin chain
which relies on consensus fault reporting to handle equivocation. So we
can just try again later.
2023-04-27 12:25:30 -07:00
Jorropo
fe42d974a2
chore: all: migrate from go-libipfs to boxo
...
github.com/ipfs/libipfs/blocks was unmigrated to github.com/ipfs/go-block-format due to compatibility issues with the rest of the IPLD stack.
2023-04-18 17:22:18 +02:00
Aayush
ae84f335cc
feat: pubsub: treat ErrGasFeeCapTooLow as ignore, not reject
2023-04-11 10:26:43 -04:00
Alfonso de la Rocha
b7c297c537
Merge branch 'master' into adlrocha/consistent-bcast
2023-03-28 16:55:06 +02:00
Alfonso de la Rocha
8d260d7478
address review
2023-03-16 17:03:25 +01:00
Łukasz Magiera
7e414ac390
Merge remote-tracking branch 'origin/master' into feat/go-data-transfer-v2
2023-03-15 11:37:53 +01:00
Steven Allen
dcb49dc8ee
refactor: update cache to the new generic version ( #10463 )
...
- Adds type safety.
- Reduces allocations.
- Fixes the drand cache (was storing by value, but retrieving by pointer)
2023-03-13 15:29:09 -07:00
Alfonso de la Rocha
c11ffa58a8
address review
2023-03-10 09:27:30 +01:00
Łukasz Magiera
d114d8fe7e
deprecate MarketListRetrievalDeals, make gen
2023-03-08 17:15:16 +01:00
hannahhoward
7bc6185077
chore(deps): update to get to compile
2023-03-07 11:45:30 -08:00
Jorropo
f572852d06
chore: all: bump go-libipfs to replace go-block-format
...
Includes changes from:
- https://github.com/ipfs/go-block-format/pull/37
- https://github.com/ipfs/go-libipfs/pull/58
2023-01-26 17:03:18 +01:00
Alfonso de la Rocha
91bd679d1e
consistent broadcast delay as build param
2022-12-13 11:13:51 +01:00
Alfonso de la Rocha
5626c69ce5
wip: abstract common fns required for consensus
2022-10-13 16:28:45 +02:00
Alfonso de la Rocha
0209052821
minor changes
2022-09-16 13:09:27 +02:00
Alfonso de la Rocha
d1a4f1dc50
fixed bugs in consistent broadcast integration
2022-09-14 19:59:29 +02:00
Alfonso de la Rocha
c03ad9dcfd
wip: draft impl of consistent bcast
2022-09-12 19:03:06 +02:00
Łukasz Magiera
08b22edd89
fix make gen
2022-08-29 16:25:30 +02:00
Łukasz Magiera
2086b219d2
Don't use go-libp2p-core
2022-08-25 14:20:41 -04:00
Łukasz Magiera
05cdeb80c3
chore: remove redundant import prefixes
2022-06-15 12:06:22 +02:00
Łukasz Magiera
e65fae28de
chore: fix imports
2022-06-14 17:00:51 +02:00
Masih H. Derkani
b47cde70fa
Decode gossip extra data as []bytes
...
The type of extra data in go-legs gossip is bytes. But when it is parsed
as miner ID, it is cast to string then parsed. Instead, it should be
decoded from bytes.
2022-02-11 18:59:00 +00:00
gammazero
1e37185d74
Ignore, not regect, indexer messages from self.
2022-02-10 08:44:40 -08:00
gammazero
9481fa0a4b
Use new indexer pubsub message encoding
2022-02-09 16:40:27 -08:00
gammazero
681ce94a34
Correctly handle seqno check
2022-02-09 16:21:05 -08:00
gammazero
3ff209d95d
Add replay rejection
2022-02-09 11:06:56 -08:00
gammazero
a62e027002
review changes
2022-02-09 10:29:49 -08:00
gammazero
b2805823ce
Pass to validator the interfaces needed to get miner info
2022-02-08 04:55:59 -08:00
gammazero
1dc6a2fea6
Add indexer pubsub message authentication and rate limiting
2022-02-08 02:53:25 -08:00
gammazero
c084130d3e
Lotus chain nodes relay indexer pubsub messages
...
Content providers announce the availability of indexer data using gossip pubsub. The content providers are not connected directly to indexers, so the pubsub messages are relayed to indexers via chain nodes. This PR makes chain nodes relay gossip pubsub messages, on the /indexer/ingest/<netname> topic.
2022-02-03 14:56:21 -08:00
Łukasz Magiera
95b128b7bc
chain: Cleanup consensus logic
2021-09-02 18:09:37 +02:00
Aayush Rajasekaran
bdd1c36802
Incoming: improve a log message
2021-08-25 12:26:10 -04:00
Łukasz Magiera
0514f38dc4
Merge remote-tracking branch 'origin/master' into chore/merge-1.10
2021-06-14 13:27:53 +02:00
Łukasz Magiera
534badad2a
mpool: Add more metrics
2021-06-11 13:19:26 +02:00
wangchao
626d482990
correct the change of message size limit
2021-06-09 18:05:16 -04:00
wangchao
4c87818de1
correct the change of message size limit
2021-06-09 15:19:35 +08:00
Łukasz Magiera
a676da8a7e
Merge remote-tracking branch 'origin/master' into feat/nv13-1.11
2021-06-01 21:07:04 +02:00
Mimir
ee508120d9
Typo fix in error message: "pubusb" -> "pubsub"
2021-05-31 15:30:10 -07:00
Aayush Rajasekaran
1f03a618f9
Plumb contexts through
2021-05-31 18:13:23 -04:00
Łukasz Magiera
d53c700d18
Merge pull request #5704 from filecoin-project/asr/log-large-delay
...
Log block CID in the large delay warning
2021-03-05 13:19:03 +01:00
Aayush Rajasekaran
374bd9b578
Update chain/sub/incoming.go
...
Co-authored-by: raulk <raul@protocol.ai>
2021-03-05 01:09:07 -05:00
Aayush Rajasekaran
22e465ba9c
log block cid in the large delay warning
2021-03-02 16:46:10 -05:00
Raúl Kripalani
b0cbc932bd
consolidate all blockstores in blockstore package.
2021-01-29 20:01:00 +00:00
Raúl Kripalani
0570306bb6
add metrics for delayed blocks.
2020-12-10 14:52:05 +00:00
zgfzgf
de9cef62f7
replace code with func
2020-11-19 20:46:40 +08:00
vyzo
8191654089
track oversize block errors in metrics
2020-11-17 17:18:49 -05:00
vyzo
e23170d194
add sanitcy check for maximum block size
2020-11-17 17:18:49 -05:00
Łukasz Magiera
9270ac6358
Make some logs quieter
2020-11-03 13:28:41 +01:00