chenliang
3b7a5c70c3
Merge branch 'master' into lotus-shed-actor
2021-05-12 11:03:49 +08:00
Łukasz Magiera
506f39b294
WIP: Integrate FIP0013
2021-05-11 22:10:29 -04:00
Aayush Rajasekaran
8465a97c4b
Merge pull request #5822 from filecoin-project/epic/robust-message-management
...
Robust message management
2021-05-10 19:58:33 -04:00
Aayush Rajasekaran
9977cb2604
Merge pull request #6169 from filecoin-project/asr/shed-minertypes
...
Add a shed util to count miners by post type
2021-05-10 19:45:52 -04:00
Jakub Sztandera
61dbd443b8
Fix tests and verifreg
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 15:30:05 +02:00
vyzo
e2d0047a2a
introduce message prototypes
...
This introduces message prototypes to applicable API endpoints, which
allows us to invert control of message sending and give the user a
chance to intervene with an interactive ui.
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 15:30:05 +02:00
ZenGround0
5351db9da7
Lint
2021-05-06 10:17:25 -04:00
ZenGround0
e1185dd5b5
cron-wc
2021-05-06 09:53:29 -04:00
Aayush Rajasekaran
f6360c34dd
Add verifreg utils to CLI
2021-05-03 22:16:12 -04:00
Aayush Rajasekaran
edc6a63e93
Add a shed util to count miners by post type
2021-05-01 00:24:14 -04:00
Aayush Rajasekaran
e6779b0b6f
Add a command to get the fees of a deal
2021-04-29 13:29:17 -04:00
Steven Allen
f983fa8cd5
Merge pull request #6134 from filecoin-project/asr/emptytsk
...
Use EmptyTSK where appropriate
2021-04-29 09:35:43 -07:00
Steven Allen
2857f6c0ed
fix: use a consistent tipset in commands
...
It's very easy to write an incorrect command that operates over
different heads by using the "empty" tipset. This change makes the
`LoadTipSet` command helper get the latest head from the lotus daemon if
its unset.
The cost is an extra call to get the head. That should be trivial in
most cases.
2021-04-29 08:50:08 -07:00
Aayush Rajasekaran
d794b49df3
Use EmptyTSK where appropriate
2021-04-29 01:00:03 -04:00
Steven Allen
bcfad6b2bb
fix(lotus-shed): sanity check start height for dup check
2021-04-28 17:51:25 -07:00
Steven Allen
701682c98a
feat(lotus-shed): make it possible to filter by to/from when checking dups
2021-04-28 17:43:07 -07:00
lotus
77eefcd6d8
feat(lotus-shed): improve duplicate-messages audit command
...
- Allow a start/end epoch.
- Print one line per duplicate set.
- Allow filtering duplicate messages by method number.
- Make the number of threads configurable.
2021-04-28 17:03:37 -07:00
Łukasz Magiera
c8fcab5d22
shed: Command to list duplicate messages in tipsets
2021-04-28 16:23:35 -07:00
Aayush Rajasekaran
448b5cb2a3
Shed util to sanity-check total balance is FilBase
2021-04-22 19:45:35 -04:00
chadwick2143
cba911ab5e
Add actorControlList command
2021-04-14 16:37:59 +08:00
chadwick2143
8972152eb1
Set MaxFee for lotus-shed actor withdraw to 0.1FIL
2021-04-14 16:34:57 +08:00
Łukasz Magiera
e76935147f
Merge remote-tracking branch 'origin/master' into feat/v1-api
2021-04-13 14:24:22 +02:00
Aayush Rajasekaran
c1e4eb3b20
Add a whitelisted block
2021-04-10 02:12:38 -04:00
Aayush Rajasekaran
470bd307c3
add a shed util to verify BLS signatures
2021-04-10 01:40:24 -04:00
zgfzgf
640d6fa474
optimize code
2021-04-06 22:40:05 +08:00
Peter Rabbitson
25a77d905d
Centralize everything on ipfs/go-log/v2
...
I am not entirely sure this is right, but everything seems to build...
2021-04-06 15:04:32 +02:00
Łukasz Magiera
81bd27911f
Propagate StateMsg api changes
2021-04-05 19:56:53 +02:00
Łukasz Magiera
49f8b8df00
Merge pull request #5900 from filecoin-project/mg/chore/move-mpool-clear
...
chore: Move lotus mpool clear to lotus-shed
2021-04-05 18:43:57 +02:00
Łukasz Magiera
deb2b90b6a
Fix lotus/miner build
2021-04-05 13:23:46 +02:00
zgfzgf
ef08bd48b5
add election backtest
2021-04-03 11:52:30 +08:00
Łukasz Magiera
c9866da688
Merge remote-tracking branch 'origin/master' into feat/v1-api
2021-04-02 13:15:33 +02:00
Łukasz Magiera
0cfc76c078
Merge pull request #5891 from filecoin-project/feat/backupds-trunc-log-handling
...
backupds: Improve truncated log handling
2021-04-02 13:04:11 +02:00
Łukasz Magiera
cf4128fc78
Merge pull request #5092 from zgfzgf/feat-shed-election
...
add shed election estimate command
2021-04-01 17:05:09 +02:00
Mike Greenberg
c800211fbb
chore: Move lotus mpool clear to lotus-shed
2021-03-29 12:54:08 -04:00
chadwick2143
4395f27143
Transplant some useful commands to lotus-shed actor
...
Transplant some useful commands from lotus-miner actor to lotus-shed actor,
so that you can excute them without miner api.
2021-03-29 12:27:08 +08:00
Łukasz Magiera
411f561db6
backupds: Improve truncated log handling
2021-03-27 10:05:12 +01:00
Łukasz Magiera
e003977559
apiclient: Version client funcs
2021-03-25 15:39:48 +01:00
Łukasz Magiera
7a23b411ae
Merge apistruct with the api package
2021-03-25 15:10:08 +01:00
Łukasz Magiera
759ea5b14f
Merge remote-tracking branch 'origin/master' into feat/v1-api
2021-03-25 14:13:21 +01:00
Łukasz Magiera
6d9ae1e28e
Merge pull request #5819 from chadwick2143/lotus-shed
...
Add --actor flag in lotus-shed sectors terminate
2021-03-25 14:02:37 +01:00
Łukasz Magiera
8f78066d4f
Merge pull request #5875 from filecoin-project/feat/log-compact-restart
...
backupds: Compact log on restart
2021-03-25 10:42:39 +01:00
Łukasz Magiera
924c419e61
backupds: handle log bool in shed
2021-03-24 21:26:24 +01:00
Aayush Rajasekaran
dac171a99b
Add a util to validate FILPoll votes
2021-03-24 00:00:11 -04:00
Aayush Rajasekaran
fdb69fdd71
Add a util to decode base64 inputs
2021-03-23 23:32:56 -04:00
Łukasz Magiera
eed5840de3
fix lotus-shed
2021-03-23 19:37:30 +01:00
Łukasz Magiera
65dcec0ebc
api client: Use versioned api packages
2021-03-23 19:15:53 +01:00
chadwick2143
7417a13be3
Add --actor flag in lotus-shed sectors terminate
...
Can specify miner actor address when terminate sectors,
so that you can terminate sectors without miner api.
2021-03-16 14:09:46 +08:00
Łukasz Magiera
58213760b7
gofmt
2021-03-12 15:56:10 +01:00
Łukasz Magiera
88b0d551b9
shed command to unpack miner info dumps
2021-03-12 12:24:09 +01:00
Łukasz Magiera
504affd266
Merge pull request #5757 from filecoin-project/chore/sr2_stats_factored_out
...
Remove the SR2 stats, leave just the network totals
2021-03-10 14:15:35 +01:00
Peter Rabbitson
bdafdf8060
Remove the SR2 stats, leave just the network totals
...
The SR2 aggregator now lives at https://github.com/filecoin-project/slingshot-stats
2021-03-09 23:36:03 +00:00
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
7c8ab6977a
add estimate command
2020-12-02 12:57:57 +08:00
zgfzgf
7d3e4c5d01
feat election error miner-power to network-power
2020-12-02 12:36:05 +08: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