Steven Allen
5304df52ca
fix lotus-shed compile
2021-03-08 17:19:31 -08:00
Raúl Kripalani
3795cc2bd2
segregate chain and state blockstores.
...
This paves the way for better object lifetime management.
Concretely, it makes it possible to:
- have different stores backing chain and state data.
- having the same datastore library, but using different parameters.
- attach different caching layers/policies to each class of data, e.g.
sizing caches differently.
- specifying different retention policies for chain and state data.
This separation is important because:
- access patterns/frequency of chain and state data are different.
- state is derivable from chain, so one could never expunge the chain
store, and only retain state objects reachable from the last finality
in the state store.
2021-02-28 22:49:44 +00:00
Raúl Kripalani
7f0f7d0b36
Merge branch 'master' into refactor/lib/blockstore
2021-02-28 19:55:23 +00:00
Łukasz Magiera
0c6aef221d
Fix error logging format strings
2021-02-11 12:00:26 +01:00
Łukasz Magiera
ebfde330dd
shed: Support miner nodes in rpc util
2021-02-04 20:06:05 +01:00
Łukasz Magiera
fed3e82ff8
Merge pull request #5047 from zgfzgf/feat-shed-bitfield
...
shed bitfield: Cleanup, add merge command
2021-01-30 12:54:39 +01:00
Raúl Kripalani
af429dba0f
Merge branch 'master' into chore/snake_context_through_blockstore_init
2021-01-29 21:21:46 +00:00
Raúl Kripalani
b0cbc932bd
consolidate all blockstores in blockstore package.
2021-01-29 20:01:00 +00:00
Raúl Kripalani
a1da1dab85
add context to LockedRepo#Datastore().
2021-01-26 11:01:43 +00:00
Steven Allen
126a5c1cf8
chore: fix nolint comment
2021-01-21 15:21:19 -08:00
Peter Rabbitson
9334e73396
Snake a context through the Chain-blockstore creation
2021-01-04 15:27:52 +01:00
vyzo
210216a94f
lotus-shed blockmsgid command
2020-12-15 20:20:16 +02:00
Łukasz Magiera
a999e41677
Merge pull request #5072 from zgfzgf/feat-shed-cid
...
Feat shed cid
2020-12-08 10:23:04 +01:00
Łukasz Magiera
b7975dcd9a
Merge pull request #5114 from filecoin-project/chore/update_sr2_stat_aggregation
...
Chore/update sr2 stat aggregation
2020-12-07 13:09:23 +01:00
Peter Rabbitson
d9e3cc0374
Add an extra filplus counter
2020-12-04 19:00:13 +01:00
Peter Rabbitson
2514c96cff
Count deals from sealed sectors only
2020-12-04 15:45:25 +01:00
Peter Rabbitson
88bd757024
Only count the first 10 copies of the same piece per project
2020-12-04 15:45:25 +01:00
Peter Rabbitson
1e6aa4b129
Only count phase2 deals ( start epoch 166560 )
2020-12-04 15:45:25 +01:00
Łukasz Magiera
9707c82285
shed: ledger show command
2020-12-02 10:37:17 +01:00
zgfzgf
97dd082585
change flag codec value raw to id and default value is id
2020-12-02 08:41:58 +08:00
zgfzgf
715c32ff77
add flag codec
2020-12-01 22:53:24 +08:00
Łukasz Magiera
4b1d6bfcca
Merge pull request #5079 from zgfzgf/feat-shed-commp
...
add commp-to-cid base64 decode
2020-12-01 15:11:23 +01:00
zgfzgf
ec08e27af2
add base64 decode
2020-12-01 19:36:01 +08:00
zgfzgf
a8cdb8adc7
add abi Cid
2020-12-01 17:16:41 +08:00
zgfzgf
0439e95aa3
add encoding flag
2020-12-01 16:50:53 +08:00
ZenGround0
2e5843a0ee
Filecoin signature serialization
2020-11-30 23:14:21 -05:00
ZenGround0
751568a4dd
Print hex
2020-11-30 22:50:41 -05:00
Łukasz Magiera
d15ef9ac9b
Merge pull request #5036 from filecoin-project/feat/shed-rpc-args
...
shed rpc: Allow calling with args
2020-11-30 14:33:52 +01:00
Łukasz Magiera
70732ac423
Fix lint
2020-11-30 14:26:42 +01:00
zgfzgf
253e22d6ea
add bitfield merge func
2020-11-28 21:54:30 +08:00
zgfzgf
a7ed639c21
optimize bitfield use func
2020-11-28 21:44:12 +08:00
zgfzgf
f4adf03ce5
optimize bitfield intersect
2020-11-28 21:07:14 +08:00
zgfzgf
c016e34dbc
bitfield add encode
2020-11-28 20:56:16 +08:00
zgfzgf
21835c785b
optimize bitfield runs
2020-11-28 20:17:56 +08:00
zgfzgf
8007c1f9ae
feat bitfield stat
2020-11-28 20:03:26 +08:00
zgfzgf
055795c4cc
optimize bitfield decode
2020-11-28 19:14:48 +08:00
zgfzgf
b03c4bc26b
add bitfield hex encode
2020-11-28 17:29:15 +08:00
Łukasz Magiera
0c1592f2d3
Merge pull request #5025 from filecoin-project/feat/accounting-tool
...
add a tooling to make filecoin accounting a little easier
2020-11-27 16:11:25 +01:00
Łukasz Magiera
61485beb22
fix lint
2020-11-27 16:02:01 +01:00
Łukasz Magiera
01ad4c0514
shed rpc: Allow calling with args
2020-11-27 15:57:00 +01:00
whyrusleeping
4f675b76ad
add a tooling to make filecoin accounting a little easier
2020-11-26 13:46:19 -08:00
Łukasz Magiera
9cef300535
Merge pull request #4971 from filecoin-project/chore/new_sr2_deal_rollup_cmd
...
New SR-specific lotus-shed cmd
2020-11-24 17:50:10 +01:00
Peter Rabbitson
a145819004
More linter...
2020-11-23 18:46:59 +01:00
Peter Rabbitson
e7f3554c62
The linter is *so* dumb:
...
- There is no way for me to check the error on defer ...Close(), why even ask?
- A sort function does not suffer arbitrary aliasing
Everything is terrible...
2020-11-23 06:51:52 +01:00
Peter Rabbitson
2609342356
New SR-specific lotus-shed cmd
2020-11-23 05:41:14 +00:00
Łukasz Magiera
b10b6fdd11
Merge pull request #4355 from filecoin-project/shed/post-find
...
Shed/post find
2020-11-20 14:52:42 +01:00
Raúl Kripalani
0c6072a1a0
chainstore lifecycle: close via Close() instead of context.
2020-11-16 22:28:59 +00:00
Raúl Kripalani
d7b4f92f1f
add context to ChainStore.
2020-11-16 15:52:19 +00:00
Raúl Kripalani
3577300aee
Merge branch 'master' into badger-viewable
2020-11-06 19:34:25 +00:00
Łukasz Magiera
426c2e8c2b
Merge pull request #4717 from filecoin-project/feat/optional-chain-bitswap
...
Optional chain Bitswap
2020-11-06 16:49:39 +01:00