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
Aayush Rajasekaran
191a05da48
Fixup get-cc-collateral command
2021-02-28 02:10:22 -05:00
Łukasz Magiera
29c9fa3137
Merge pull request #5612 from filecoin-project/feat/cc-fsm-cleanup
...
storagefsm: Cleanup CC sector creation
2021-02-26 11:39:28 +01:00
Łukasz Magiera
f5d819ba53
Merge pull request #5669 from ghoneycutt/import_error
...
Improve error message with importing a chain
2021-02-25 14:31:33 +01:00
Garrett Honeycutt
92b605466f
Improve error message with importing a chain
...
Without this commit the error message does not provide much value as it
lacks context.
2021-02-24 19:29:29 -05:00
Łukasz Magiera
a3a78fc705
Command to extend sector expiration
2021-02-23 09:27:14 +01:00
Łukasz Magiera
37b1fb97fb
Configurable storage path storage limit
2021-02-18 16:44:34 +01:00
Łukasz Magiera
d8c9712383
Merge remote-tracking branch 'origin/master' into feat/refactor-fsm-input
2021-02-17 21:24:48 +01:00
Łukasz Magiera
d12545af6f
Merge pull request #5469 from filecoin-project/feat/faucet-captcha
...
Add spam protection to fountain
2021-02-17 20:17:28 +01:00
Aayush Rajasekaran
f358af6f56
Fix typo
2021-02-16 19:35:35 -05:00
Łukasz Magiera
fd90c03018
Roturn SectorID from PledgeSector
2021-02-16 19:16:35 +01:00
Łukasz Magiera
7111e924cc
Merge remote-tracking branch 'origin/master' into feat/refactor-fsm-input
2021-02-11 13:30:22 +01:00
Łukasz Magiera
0c6aef221d
Fix error logging format strings
2021-02-11 12:00:26 +01:00
Cory Schwartz
039ca9f3b4
return the err
2021-02-09 17:05:56 -08:00
Cory Schwartz
6d4caa0163
lotus-seed command to generate lotus block
...
Currently devnet deployment requires spinning up a full daemon.
This would move the daemon `lotus-make-genesis` logic to lotus-seed
so it can be more easily executed in scripts, etc.
2021-02-09 16:54:32 -08:00
Łukasz Magiera
5a3b983954
Merge pull request #5529 from filecoin-project/feat/shed-rpc-miner
...
shed: Support miner nodes in rpc util
2021-02-09 17:23:08 +01:00
Łukasz Magiera
e92b8b24b1
Merge remote-tracking branch 'origin/master' into feat/refactor-fsm-input
2021-02-09 14:04:21 +01:00
Dirk McCormick
eb03422c93
feat: add ends-in to pending publish deals output
2021-02-08 18:06:50 +01:00
Dirk McCormick
614844dc94
feat: output more info in pending-publish CLI
2021-02-08 12:08:42 +01:00
Łukasz Magiera
3ff6a6f59f
address review; flush tablewriter
2021-02-05 22:33:53 +01:00
Łukasz Magiera
cfa73f34e4
market: miner CLI for managing pending deals
2021-02-05 21:55:43 +01:00
Łukasz Magiera
dc6392db49
Merge pull request #5219 from filecoin-project/feat/interactive-wallet
...
lotus-wallet: Add interactive mode
2021-02-05 13:07:25 +01:00
Łukasz Magiera
641eeb4783
lotus-wallet: Better interactive prompts
2021-02-05 12:47:55 +01:00
Łukasz Magiera
ab5345860c
gofmt
2021-02-05 12:44:07 +01:00
Łukasz Magiera
06d3892e38
lotus-wallet: Add interactive mode
2021-02-05 12:44:01 +01:00
Łukasz Magiera
ebfde330dd
shed: Support miner nodes in rpc util
2021-02-04 20:06:05 +01:00
whyrusleeping
0efb4ca3a7
add an api endpoint to get pending transactions for multisigs
2021-02-03 20:46:10 -08:00
Łukasz Magiera
6e7fcb7ee6
Merge remote-tracking branch 'origin/master' into feat/refactor-fsm-input
2021-02-03 14:01:56 +01:00
whyrusleeping
ed6ccef5cf
export metrics for lotus-gateway
2021-02-01 13:13:20 -08: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
Łukasz Magiera
b1dfd41c19
Merge pull request #4950 from zgfzgf/feat-bench-policy
...
delete bench policy
2021-01-30 12:34:40 +01:00
Łukasz Magiera
a541a2500a
Merge pull request #5282 from filecoin-project/chore/snake_context_through_blockstore_init
...
Snake a context through the Chain-blockstore creation
2021-01-30 11:55:17 +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
Jakub Sztandera
0a0fc47655
Make lint happy
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-01-28 19:58:28 +01:00
Jakub Sztandera
608793314f
Fix url Values
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-01-28 19:58:12 +01:00
Jakub Sztandera
ba94f271db
Add spam protection to fountain
...
Uses reCAPTCHAv3, `RECAPTCHA_SITE_KEY` and `RECAPTCHA_SECRET_KEY` need to be
set in env.
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-01-28 19:58:09 +01:00
Łukasz Magiera
94009f247f
Merge pull request #5411 from filecoin-project/feat/sealing-handle-batch-publish
...
Handle batch publish storage deals message in sealing recovery
2021-01-28 19:33:49 +01:00
Łukasz Magiera
3634bdcfa5
Merge pull request #5220 from filecoin-project/feat/verifpower-sector-list
...
Show verified power in miner sector list
2021-01-28 19:09:19 +01:00
Raúl Kripalani
a1da1dab85
add context to LockedRepo#Datastore().
2021-01-26 11:01:43 +00:00
Raúl Kripalani
ce3af308ed
Merge branch 'master' into chore/snake_context_through_blockstore_init
2021-01-25 19:31:41 +00:00
Dirk McCormick
1b494acc9e
feat: handle batch publish storage deals message in sealing recovery
2021-01-25 14:10:05 +01:00
Steven Allen
a1e6781f0c
fix tests
2021-01-21 15:21:20 -08:00
Steven Allen
ab4f135208
test actors v3
2021-01-21 15:21:20 -08:00
Steven Allen
026d236252
more reliably close in tests
2021-01-21 15:21:20 -08:00
Steven Allen
126a5c1cf8
chore: fix nolint comment
2021-01-21 15:21:19 -08:00
Aayush Rajasekaran
ab90a3b2bc
Actors update: MinerInfo.SealProofType has been removed
2021-01-21 15:21:19 -08:00
Łukasz Magiera
b9a9f23204
storagefsm: Add stub AddPieceFailed state
2021-01-21 17:40:50 +01:00
Łukasz Magiera
239d6f8f4d
storagefsm: Rewrite input handling
2021-01-21 17:40:50 +01:00
Aayush Rajasekaran
23ce0645ed
Merge pull request #5342 from filecoin-project/asr/change-owner
...
Allow multisigs to be set as miner owner address
2021-01-20 21:30:37 -05:00
Frank
e0209c74ad
add verified indicator for storage-deals list
2021-01-20 15:14:51 +08:00
Łukasz Magiera
388c53e637
Merge pull request #5352 from filcloud/color-amount
...
add color for token amount
2021-01-19 11:47:22 +01:00
Dirk McCormick
827a473391
feat: expose StateSearchMessage on gateway
2021-01-19 11:27:43 +01:00
Łukasz Magiera
38f9559080
Implement full-node restore option
2021-01-15 20:57:32 +01:00
Frank
7747bcd859
remove some colorTokenAmount
2021-01-15 11:48:07 +08:00
Łukasz Magiera
1e53ed6a82
Print proving window info in pending termination list
2021-01-14 17:27:28 +01:00
Łukasz Magiera
9632a3836a
Print msg cid in terminate flush
2021-01-14 16:47:30 +01:00
Łukasz Magiera
4a114150f0
fix miner terminate cli arg checks
2021-01-14 16:14:24 +01:00
Łukasz Magiera
7ddf1d1feb
Add terminating states to state lists
2021-01-14 12:44:27 +01:00
Łukasz Magiera
785b660724
perning termination CLI
2021-01-14 12:37:31 +01:00
Frank
3224c84fb1
add color for token amount
2021-01-14 16:39:39 +08:00
Aayush Rajasekaran
b6bcd978e7
Fix lotus msig approve
2021-01-13 03:21:50 -05:00
Aayush Rajasekaran
b33bf16f70
Add a command to encode JSON params
2021-01-13 02:40:06 -05:00
Aayush Rajasekaran
02f33e2b8e
Simplify the miner actor set owner command
2021-01-13 01:34:14 -05:00
Łukasz Magiera
52cc2cd3eb
Initial sector termination support
2021-01-13 00:42:01 +01:00
Łukasz Magiera
8ac71f6d0a
Merge pull request #5222 from filcloud/bench-env
...
add bench env print
2021-01-06 20:17:42 +01:00
Łukasz Magiera
cbbe01eeb5
Merge pull request #5223 from filcloud/noise-limit
...
add limit and rate for chain noise
2021-01-06 20:17:29 +01:00
Łukasz Magiera
cf299b39b0
Merge pull request #5259 from filcloud/verbose-transfer
...
add verbose for list transfers
2021-01-06 17:24:13 +01:00
Frank
fdc46ad5df
update json format
2021-01-06 12:20:33 +08:00
Frank
25f3384939
go fmt
2021-01-06 11:30:51 +08:00
Łukasz Magiera
9b70fdbe9d
Merge pull request #5289 from filecoin-project/asr/remove-env-var
...
Remove LOTUS_DISABLE_V2_ACTOR_MIGRATION envvar
2021-01-05 20:10:26 +01:00
Łukasz Magiera
4f9fcd2b01
Merge pull request #5258 from filecoin-project/raulk/tvx-batch-tipset-diff
...
tvx extract: more tipset extraction goodness.
2021-01-05 18:57:21 +01:00
Aayush Rajasekaran
11d1e3cd5f
Remove LOTUS_DISABLE_V2_ACTOR_MIGRATION envvar
2021-01-05 00:46:57 -05:00
Peter Rabbitson
9334e73396
Snake a context through the Chain-blockstore creation
2021-01-04 15:27:52 +01:00
Frank
7583c4399a
add verbose for list transfers
2020-12-28 16:36:19 +08:00
Raúl Kripalani
cd032d5418
tvx extract: more tipset extraction goodness.
...
- ability to extract a tipset range into individual vectors.
- ability to extract a tipset range and squash into a single multi-tipset vector.
- mark statediff output deterministically, so it can be extracted by tooling.
- ability to execute callbacks between tipsets in the driver.
- implement save-balances callback.
2020-12-27 18:58:35 +00:00
Frank
984e4e9963
add limit and rate for chain noise
2020-12-18 19:35:11 +08:00
Frank
f24d401b61
add bench env print
2020-12-18 17:57:32 +08:00
Łukasz Magiera
9892c60ed0
Show verified power in miner sector list
2020-12-17 17:17:07 +01:00
Dan Shao
fda3b152bd
Skip checking terminated sectors provable
2020-12-17 20:05:43 +08:00
Łukasz Magiera
0d72d742b4
Merge pull request #5194 from filecoin-project/raulk/tvx-extract-tipset
...
tvx command to extract tipset vectors.
2020-12-15 19:53:10 +01:00
vyzo
210216a94f
lotus-shed blockmsgid command
2020-12-15 20:20:16 +02:00
Raúl Kripalani
2af1283c65
tvx exec: flag to fallback to API blockstore.
2020-12-15 17:44:56 +00:00
Raúl Kripalani
3fa51f08e1
fix lint error; stamp metadata on vector.
2020-12-15 17:08:49 +00:00
Raúl Kripalani
446b1cc883
tvx command to extract tipset vectors.
2020-12-15 16:56:01 +00:00
Łukasz Magiera
2e154ef6d0
Merge pull request #5176 from filecoin-project/shaodan-miner-sectors-info
...
Shaodan miner sectors info
2020-12-10 20:09:15 +01:00
Łukasz Magiera
0cb2f51549
Merge pull request #5094 from filecoin-project/asr/verified-only
...
Allow miners to filter (un)verified deals
2020-12-10 19:48:22 +01:00
Łukasz Magiera
d347e7ab8f
Merge branch 'miner-sectors-info' of github.com:shaodan/lotus into shaodan-miner-sectors-info
2020-12-10 19:32:26 +01:00
Dirk McCormick
72cb130e17
feat: show data transfer ID in list-deals
2020-12-08 15:23:26 +01: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
5c37c9d8e9
Merge pull request #5118 from filcloud/keygen-outfile
...
add keygen outfile
2020-12-07 13:11:11 +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
Dan Shao
d56170d70e
Optimize sectors info loading
2020-12-07 13:42:37 +08: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
Frank
daca99687c
add keygen outfile
2020-12-04 18:39:35 +08:00
Łukasz Magiera
90a31fde9f
Merge pull request #5103 from filecoin-project/feat/miner-control-config
...
miner: Control address config for (pre)commits
2020-12-03 15:33:12 +01:00
Łukasz Magiera
da5e1b319f
Merge pull request #5098 from filecoin-project/feat/shed-ledger-show
...
shed: ledger show command
2020-12-03 13:22:06 +01:00
Łukasz Magiera
f74a1b70ab
miner: Fix actor control list cli
2020-12-02 20:46:07 +01:00
Łukasz Magiera
9707c82285
shed: ledger show command
2020-12-02 10:37:17 +01:00
Aayush Rajasekaran
370817eb60
Allow miners to filter (un)verified deals
2020-12-02 01:32:34 -05: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
Łukasz Magiera
c6f85886bf
miner: Add slow mode to proving check
2020-12-02 00:32:14 +01:00
Łukasz Magiera
64e30808f8
miner info: Print control and spendable balances
2020-12-01 19:56:47 +01:00
Łukasz Magiera
28420b9eb0
miner info: Make balances line up better
2020-12-01 19:43:22 +01:00
Łukasz Magiera
827ec75f5f
miner info: Don't print random config values
2020-12-01 19:23:29 +01:00
Łukasz Magiera
c31774b08e
miner info: Cleanup balance printing
2020-12-01 19:22:57 +01:00
Łukasz Magiera
15c4793fe0
miner info: More cleanup
2020-12-01 19:15:20 +01:00
Łukasz Magiera
42cecbd879
miner info: Collapse sector size line
2020-12-01 19:01:08 +01:00
Łukasz Magiera
00e5ace818
Print basefee in miner info
2020-12-01 18:56:43 +01:00
Łukasz Magiera
82b5cb89cd
Merge pull request #5061 from filecoin-project/fix/err-late-deals
...
Error out deals that are not activated by proposed deal start epoch
2020-12-01 17:02:06 +01: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
Łukasz Magiera
614f45dcfb
Merge pull request #5041 from filecoin-project/feat/5013
...
Sector check command
2020-12-01 14:59:01 +01:00
Łukasz Magiera
354b5af55a
Merge pull request #5032 from filecoin-project/fix/cancel-transfer
...
Cancel transfer cancels storage deal
2020-12-01 14:57:58 +01:00
Łukasz Magiera
c4a6b94b9c
Merge pull request #5023 from filecoin-project/feat/worker-set-task-types
...
worker: Support setting task types at runtime
2020-12-01 14:51:07 +01:00
Dirk McCormick
cb044f83a7
fix: ensure deal start is far enough in future for tests
2020-12-01 14:25:48 +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
6dea0a6281
worker: fix math-related issue
2020-11-30 23:19:16 +01:00
Łukasz Magiera
a4f3758f4c
worker api: better grouping
2020-11-30 23:16:30 +01: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
e8d2560581
Fix tests
2020-11-27 16:47:48 +01: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
Dirk McCormick
c66e594046
fix: cancel transfer cancels storage deal
2020-11-27 15:37:22 +01:00
whyrusleeping
4f675b76ad
add a tooling to make filecoin accounting a little easier
2020-11-26 13:46:19 -08:00
Łukasz Magiera
bfb5bad124
docsgen
2020-11-26 17:34:58 +01:00
Łukasz Magiera
3672053ae9
worker: Support setting task types at runtime
2020-11-26 17:33:34 +01:00
Łukasz Magiera
4dfec7b232
worker: Sort tasks in info
2020-11-26 16:37:11 +01:00
Łukasz Magiera
23c7728edb
worker: Print task types in info
2020-11-26 16:34:51 +01:00
Łukasz Magiera
aa278443d3
Merge pull request #5008 from filecoin-project/fix/worker-remote
...
worker: More robust remote checks
2020-11-26 16:29:51 +01:00