Ł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
Łukasz Magiera
2304ea0077
Merge pull request #5016 from filecoin-project/fix/fsm-rm-unceroverable
...
storagefsm: Add missing planners
2020-11-26 12:22:48 +01:00
Łukasz Magiera
65653a1747
storagefsm: Add GetTicket to some maps
2020-11-26 10:53:31 +01:00
s1m0n21
663b3f4f21
add a sector check command
2020-11-26 15:02:43 +08:00
Łukasz Magiera
23bf3349d7
worker: More robust remote checks
2020-11-25 17:05:45 +01:00
Dirk McCormick
239e180683
feat: markets - separate watching for pre-commit from prove-commit
2020-11-24 13:24:41 -08:00
Łukasz Magiera
a63ef1dcd5
Merge pull request #4984 from yaohcn/fix-log-warn
...
fix log format
2020-11-24 18:01:56 +01: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
Lucas Molas
8b8449faee
update jsonrpc with max req size
2020-11-24 16:46:35 +01:00
yaohcn
7c0b6f41d8
fix log format
2020-11-24 19:09:48 +08: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
zgfzgf
e197038b9f
delete policy useless code
2020-11-21 10:14:13 +08:00
zgfzgf
549afbaa5f
add policy 8m and 512m
2020-11-21 10:04:07 +08:00
hannahhoward
218f7c2c5d
feat(markets): update markets, extract commp
2020-11-20 13:29:14 -08:00
Łukasz Magiera
375b7a1c4c
Merge pull request #4305 from zgfzgf/fix-lotus-bench
...
Fix lotus bench error
2020-11-20 19:22:22 +01:00
Łukasz Magiera
4b507f5be1
Merge pull request #4911 from filecoin-project/asr/seed-old
...
Use version0 when pre-sealing
2020-11-20 16:41:14 +01:00
zgfzgf
d033042d6b
update code
2020-11-20 23:20:26 +08:00
zgfzgf
7d4bc90d42
solve merge conflicts
2020-11-20 22:34:15 +08:00
Łukasz Magiera
853f9da457
Merge pull request #4583 from filecoin-project/fix/tvx-msg-cid
...
tvx extract: make it work with secp messages.
2020-11-20 15:13:06 +01:00
Raúl Kripalani
bb9d2b5af4
finish comment.
2020-11-20 14:05:50 +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
Łukasz Magiera
2d9123a618
Merge pull request #4140 from filecoin-project/feat/mutex-fraction
...
Add options to set BlockProfileRate and MutexProfileFraction
2020-11-20 14:22:58 +01:00
Łukasz Magiera
16dbbadddf
Set lower feecap on PoSt messages with low balance
2020-11-19 18:02:20 +01:00
Aayush Rajasekaran
62d20f2191
Use version0 when pre-sealing
2020-11-18 23:10:05 -05:00
Aayush Rajasekaran
68a16afeda
Merge branch 'master' into release/v1.2.0
2020-11-17 19:40:05 -05:00
Raúl Kripalani
27c0ce4a3a
fix lint.
2020-11-16 22:39:08 +00:00
Raúl Kripalani
0c6072a1a0
chainstore lifecycle: close via Close() instead of context.
2020-11-16 22:28:59 +00:00
Steven Allen
c8ff58aae1
add basic calico test
2020-11-16 19:04:17 +01:00
Łukasz Magiera
915c5e0fdd
Get most tests to pass
2020-11-16 19:03:30 +01:00
Łukasz Magiera
2a7e4af5ee
Fix lotus-miner/lotus-worker build
2020-11-16 19:03:30 +01:00
Steven Allen
4544d2118e
fix lotus seed for proof api changes
2020-11-16 19:03:30 +01:00
Łukasz Magiera
6bea9dd178
Making sealing logic work with multiple seal proof types
2020-11-16 19:03:30 +01:00
Raúl Kripalani
bac51dd4e3
daemon --import-snapshot: force head silently, without triggering reorg.
2020-11-16 16:03:47 +00:00
Raúl Kripalani
d7b4f92f1f
add context to ChainStore.
2020-11-16 15:52:19 +00:00
Raúl Kripalani
87d6daf745
fix blockstore double open issue on --import-snapshot.
...
Fixes https://github.com/filecoin-project/lotus/issues/4850 .
2020-11-16 15:21:47 +00:00
Łukasz Magiera
c5c0185943
miner: Basic storage cleanup command
2020-11-12 21:27:16 +01:00
Łukasz Magiera
bf547112de
miner: Storage list sectors command
2020-11-12 19:11:58 +01:00
Łukasz Magiera
28ffa8ca06
Merge pull request #4819 from liyue201/master
...
Delete the duplicate output
2020-11-12 18:13:51 +01:00
Dirk McCormick
0e3e449bf8
test: stop mining at the end of tests
2020-11-12 16:23:46 +01:00
stirlingx
8246149544
Delete unnecessary output
2020-11-12 18:59:36 +08:00
Aayush Rajasekaran
3a3986320c
Merge pull request #4804 from filecoin-project/feat/storage-retwait-cleanup
...
Expand sched-diag; Command to abort sealing calls
2020-11-12 02:11:15 -05:00
Aayush Rajasekaran
498477da04
Nit: ArgsUsage param rename
2020-11-12 02:04:55 -05:00
Travis Person
f4df58ed0f
Merge pull request #4810 from filecoin-project/fix/lotus-stats-flags
...
lotus-stats: fix influx flags
2020-11-11 14:36:37 -08:00
Travis Person
ff7bdb5140
lotus-stats: fix influx flags
2020-11-11 21:17:36 +00:00
Łukasz Magiera
8ac495723e
gofmt
2020-11-11 17:42:23 +01:00
Łukasz Magiera
09f9f871a3
Create a command to abort sealing calls
2020-11-11 17:39:12 +01:00
Łukasz Magiera
2a3d930933
Hide ret-done tasks in sealing jobs by default
2020-11-11 16:48:04 +01:00
stirlingx
8b889139e9
Modify printf format
2020-11-11 10:39:13 +08:00
Aayush Rajasekaran
735c04f999
Merge pull request #4681 from filecoin-project/badger-viewable
...
move to native badger blockstore; leverage zero-copy View() to deserialize in-place
2020-11-10 18:08:12 -05:00
Łukasz Magiera
18aa97f962
Merge pull request #4779 from filecoin-project/feat/work-track-hostname
...
storage: Track worker hostnames with work
2020-11-10 20:38:44 +01:00
zgfzgf
f5401317c9
cmd sectors commitIDs len
2020-11-10 17:37:36 +08:00
Łukasz Magiera
5caa277261
storage: Track abandoned work more correctly
2020-11-09 23:38:20 +01:00
Łukasz Magiera
f819e71d12
storage: Separate returned jobs in jobs cli
2020-11-09 23:13:29 +01:00
Łukasz Magiera
27a9dd3bbb
storage: Track worker hostnames with work
2020-11-09 23:09:04 +01: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
Łukasz Magiera
3c9e438a68
Merge pull request #4617 from filecoin-project/termination-penalty
...
Add `termination-estimate` to get an estimation for how much a termination penalty will be
2020-11-06 16:44:44 +01:00
Łukasz Magiera
2f9d19c42c
Merge pull request #4726 from filecoin-project/feat/shed-id-cid
...
shed: Util for creating ID CIDs
2020-11-06 16:03:45 +01:00
Łukasz Magiera
ee9df63221
shed: Util for creating ID CIDs
2020-11-06 15:42:09 +01:00
Raúl Kripalani
8befc0c1f5
export metrics from bench.
2020-11-05 19:09:47 +00:00
Travis Person
bd4322f56f
Update lotus-stats with a richer cli
...
This updates lotus stats to use urfave instead of the golang flags
package. This brings with it some common features from other lotus tools
such as the use of the `FULLNODE_API_INFO` env and other parts of the
lotus cli package.
This also includes the latest dashboard.
2020-11-04 18:06:17 +00:00
Raúl Kripalani
a411342f0c
export more metrics.
2020-11-04 17:09:01 +00:00
Raúl Kripalani
370ef93db6
chainstore: new ForceHeadSilent to support benchmarks.
2020-11-04 14:39:01 +00:00
Raúl Kripalani
fd1439f284
fix lint.
2020-11-03 22:49:55 +00:00
Łukasz Magiera
a1e1b03ca4
Optionally allow bitswap for chainstore
2020-11-03 23:44:44 +01:00
Raúl Kripalani
87ce2f774d
lotus-bench: write separate profiles for import and validation.
2020-11-03 22:40:21 +00:00
Raúl Kripalani
5487356370
fix lint errors.
2020-11-03 21:23:41 +00:00
Raúl Kripalani
809111336a
Merge branch 'master' into badger-viewable
2020-11-03 18:29:10 +00:00
Raúl Kripalani
18418128c3
lotus-bench: make start tipset walkback start from end tipset.
2020-11-03 18:15:59 +00:00
Raúl Kripalani
581ac5b019
lotus-bench: add ability to specify tipsets.
2020-11-03 18:11:43 +00:00
Raúl Kripalani
842c8ca056
improve lotus-bench; support running validation on a store without a CAR.
2020-11-03 17:35:31 +00:00
zgfzgf
3e7efad0fd
modify lint error
2020-11-03 21:28:01 +08:00
zgfzgf
3c2cd506ec
modify merge lotus-bench
2020-11-03 19:56:04 +08:00
Łukasz Magiera
1df02d5a93
Merge pull request #4691 from filecoin-project/fix/metrics
...
fix metrics wiring.
2020-11-03 11:50:43 +01:00
Łukasz Magiera
a4cf6fa715
sched: Interactive RPC Shell
2020-11-02 20:38:15 +01:00
Raúl Kripalani
656ece06e5
fix metrics wiring.
...
Some components like go-ds-measure, go-ipfs-blockstore and go-bitswap
expose metrics via ipfs/go-metrics-interface, but Lotus never injects
the Prometheus exporter (ipfs/go-metrics-prometheus). Therefore, those
metrics never surface in instrumentation.
Instead, Lotus uses OpenCensus directly.
This commit injects the Prometheus exporter for go-metrics-interface, and
instructs the OpenCensus Prometheus exporter to use the DefaultRegistry.
This has the effect of exposing blending the metrics of both metrics
libraries.
With this patch, the datastore, cache utilisation, and bitswap metrics
are now exported via the /debug/metrics endpoint.
This commit also fixes an issue where the metrics scope was empty, making
go-metrics-interface default to "<no-scope>". Angle brackets are inadmissible
characters for Prometheus, so it was refusing to export the affected metrics.
(These were the ARC cache metrics.)
2020-11-02 17:56:49 +00:00
Raúl Kripalani
d1ebf3c769
introduce non-pooled StorageKey method.
2020-11-02 13:32:07 +00:00
Raúl Kripalani
f4e13ffd80
actually register prometheus gauge.
2020-11-01 20:01:57 +00:00
Raúl Kripalani
44e34d9606
lotus-bench: native badger SyncWrites=false.
2020-11-01 19:54:47 +00:00
Raúl Kripalani
35ccd73a86
lotus-bench: improve for observability.
2020-11-01 19:52:53 +00:00
Raúl Kripalani
aece624d1c
lotus-bench: add support for native badger blockstore.
2020-11-01 18:54:35 +00:00
Raúl Kripalani
c2355b18f9
write heap and allocs profile in lotus-bench.
2020-11-01 18:00:08 +00:00
Raúl Kripalani
d8d85373f5
fix lotus-shed datastore commands.
2020-11-01 13:50:41 +00:00
Raúl Kripalani
a16d7f221e
Merge branch 'master' into badger-viewable
2020-11-01 13:10:56 +00:00
Raúl Kripalani
099c4b5e1d
migrate repo.Datastore(/chain) to repo.Blockstore().
2020-11-01 13:03:21 +00:00
Łukasz Magiera
978192233d
Merge pull request #4498 from filecoin-project/feat/try-election
...
Add election run-dummy command
2020-10-31 01:02:25 +01:00
Łukasz Magiera
6fcdf3c7ed
Merge pull request #4615 from filecoin-project/feat/worker-pause
...
worker: Commands to pause/resume task processing
2020-10-31 00:26:37 +01:00
Łukasz Magiera
094ea3fe97
Merge pull request #4666 from filecoin-project/fix/sched-issues
...
Fix worker reenabling, handle multiple restarts in worker
2020-10-30 21:34:07 +01:00
Łukasz Magiera
6cdbf5216e
Merge pull request #4629 from filecoin-project/fix/badger-lsm-trsh
...
Reduce badger ValueTreshold to 128
2020-10-30 21:10:18 +01:00
Łukasz Magiera
fb492d9acb
Merge pull request #4662 from filecoin-project/feat/force-sched-cli
...
Debug flag to force running sealing scheduler
2020-10-30 20:15:49 +01:00
Łukasz Magiera
885c6c94d3
Add sync status to miner info command
2020-10-30 19:39:31 +01:00
jennijuju
2f4582147a
Add termination-estimate
to get an estimation for how much a termination penalty will be:
...
- Usage example: `./lotus-shed sectors termation-estimate 5 8 10`.
2020-10-30 13:34:03 -04:00
Łukasz Magiera
af1d45d969
worker: Handle multiple manager restarts while waiting for tasks
2020-10-30 18:00:48 +01:00
Łukasz Magiera
7fbb868513
Debug flag to force running sealing scheduler
2020-10-30 11:07:35 +01:00
Łukasz Magiera
ad9a5acb7f
miner sectors list: flags for events/seal time
2020-10-29 19:10:20 +01:00
Jakub Sztandera
ae905bd056
Fix closing
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-29 01:05:31 +01:00
Jakub Sztandera
a2c66dd102
make linter happy
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-28 23:30:28 +01:00
Jakub Sztandera
0297be4b9a
Add lotus-shed datastore rewrite
command
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-28 23:24:45 +01:00
Łukasz Magiera
553408d573
worker: Commands to pause/resume task processing
2020-10-28 22:10:17 +01:00
Łukasz Magiera
e1da874258
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-27 03:31:07 +01:00
Steven Allen
832c0998e4
validate that block propagation works after a worker key change
2020-10-26 18:16:25 -07:00
Steven Allen
0d06f8fa2b
Add commands to change the worker key
2020-10-26 18:16:24 -07:00
Jakub Sztandera
cced3bf9ee
Randomize seed
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-26 17:44:55 +01:00
Jakub Sztandera
ea6afe84db
Add election run-dummy command
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-26 17:44:51 +01:00
Łukasz Magiera
8923524f6a
Make EarlyExpiration in sectors list less scary
2020-10-26 15:33:15 +01:00
Łukasz Magiera
a37c372d06
Merge pull request #4572 from filecoin-project/feat/data-transfer-utils
...
Flesh out data transfer features
2020-10-26 13:29:26 +01:00
Raúl Kripalani
cdfa869ea6
tvx extract: make it work with secp messages.
...
Unfortunately ChainGetMessage returns a *types.Message, which in
the case of secp messages is lacking the signature. The signature
is part of the input to calculate the CID on secp messages. Therefore,
calling `.Cid()` on the result of ChainGetMessage for this kind of
message will lead to an incorrect CID.
tvx was relying on that call to return the correct CID. Since this is
not the case (and this is a footgun that needs to be corrected, ideally
together with the *types.{,Signed}Message duality mess), I'm replacing
the comparison.
2020-10-24 20:16:14 +01:00
Łukasz Magiera
660236b224
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-23 23:25:35 +02:00
Łukasz Magiera
067de4508b
shed: Commad to decode messages
2020-10-23 22:17:46 +02:00
Łukasz Magiera
dbcba6477e
Merge pull request #4263 from filecoin-project/feat/lite-market-client
...
lite-mode - market storage and retrieval clients
2020-10-23 17:23:06 +02:00
Dirk McCormick
906286fdbe
feat: lite-mode - CLI tests for lotus client
commands
2020-10-23 15:02:49 +02:00
Dirk McCormick
92942d44d1
feat: lite-mode - market storage and retrieval clients
2020-10-23 15:02:26 +02:00
Raúl Kripalani
39d9150175
fix tvx init.
2020-10-23 13:30:04 +01:00
Raúl Kripalani
5301c416bc
tvx extract: --ignore-sanity-checks flag.
2020-10-23 10:47:22 +01:00
Raúl Kripalani
92395745d3
tvx simulate: execute raw message against height.
2020-10-23 10:46:32 +01:00
hannahhoward
98297cef4d
feat(data-transfer): fill in utils
2020-10-22 13:40:26 -07:00
Łukasz Magiera
0289c39850
Merge pull request #4516 from filecoin-project/feat/api-request-metrics-wrapper
...
Feat/api request metrics wrapper
2020-10-22 21:40:47 +02:00
Łukasz Magiera
f9723ca3c1
Merge pull request #4521 from filecoin-project/feat/fix-shed-ledger-list
...
Fix lotus-shed ledger list
2020-10-22 19:59:18 +02:00
Łukasz Magiera
6c800bd0e3
Merge pull request #4501 from filecoin-project/feat/gateway-oni-needs
...
add some methods that oni needs
2020-10-22 19:44:47 +02:00
Łukasz Magiera
6bdf9935bf
Merge pull request #4475 from filecoin-project/fix/miner-init-createworker
...
miner: fix init --create-worker-key
2020-10-22 18:55:25 +02:00
Łukasz Magiera
6fc8550c19
Merge pull request #4314 from filecoin-project/feat/lotus-pcr-block-list
...
Add block list to pcr
2020-10-22 17:59:23 +02:00
Łukasz Magiera
041762a34f
Merge pull request #4383 from filecoin-project/steb/actor-v2-imports
...
Remove most v0 actor imports
2020-10-22 17:17:56 +02:00
Łukasz Magiera
9a58763a4e
shed: Rename the command to frozen-miners
2020-10-22 16:07:42 +02:00
ZenGround0
f9707ba344
add borked inspection command
...
hook up new command
Fix head call
Debug internal error
Debug moa
Debug 0
Fix 0
Fix 1
Better print
Don't ignore error
2020-10-22 16:03:11 +02:00
Łukasz Magiera
ee8d8bf5e5
pcr: Fix lint
2020-10-22 15:42:46 +02:00
Łukasz Magiera
b85bf82d00
Merge pull request #4318 from filecoin-project/asr/shed-won-power
...
Add a shed util to determine % of power that has won a block
2020-10-22 15:40:55 +02:00
Travis Person
6fb3dafa95
lotus-pcr: add blocklist
2020-10-22 15:35:01 +02:00
Łukasz Magiera
f5960df544
Merge pull request #4313 from filecoin-project/fix/pcr-basefee
...
Look at block base fee for PCR
2020-10-22 15:32:01 +02:00
Łukasz Magiera
0832d5a7d5
bench: Fix lint warnings
2020-10-22 15:00:31 +02:00
whyrusleeping
602d2b8ad5
record datastore metrics after successful run
2020-10-22 14:57:06 +02:00
Jakub Sztandera
0341944350
Inject prometheus
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-22 14:57:05 +02:00
whyrusleeping
00d1e6b549
add measure datastore wrapper around bench chain datastore
2020-10-22 14:57:04 +02:00
Steven Allen
bcabe7b3b5
migrate methods to abstracted methods
...
Method numbers never change anyways. At worst, we'll deprecate old methods and
have to explicitly import them from the correct actors version to use them.
2020-10-21 12:18:37 -07:00
Steven Allen
4e730b5ec8
port to v2 imports
2020-10-21 12:16:23 -07:00
Jakub Sztandera
f0d966a595
Fix lotus-shed ledger list
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-21 19:40:51 +02:00
lanzafame
7a33d5bb34
register all apis with metric wrapper
2020-10-21 18:37:50 +10:00
lanzafame
3e767ca5c8
wrap api in metrics proxy
2020-10-21 18:27:13 +10:00
Aayush Rajasekaran
547c01f5ff
Merge pull request #4506 from filecoin-project/release/1.1.0
...
Introduce Network version 6
2020-10-20 18:29:49 -04:00
Aayush Rajasekaran
75eb644108
Merge pull request #4507 from filecoin-project/lotus-shed-terminate-1475
...
Add a terminate sectors command to lotus-shed
2020-10-20 18:28:09 -04:00
jennijuju
ee5dcbc1d8
Add wait message
2020-10-20 18:26:17 -04:00
Steven Allen
ed1645109a
Add lotus storage miner API support to lotus-shed
2020-10-20 17:38:15 -04:00
jennijuju
277d3e9ab4
Add terminate sectors based on 1475's #4433 implementation in lotus-shed:
...
- Moving the cmd to lotus-shed so that miners can use this right away without waiting for fsm changes.- Note: this should only be used when the miner is 100% sure that they want to terminate the sector on chain and they will be lose the power and pay a big one-time termination penalty for the sectors.
- Only live sectors can be terminated.
- To use, run `./lotus-shed sectors terminate --really-do-it=true sectorNum1 sectorNum2`.
- A message will be sent and after the message is landed on chain, miner can run `lotus-miner sectors status --on-chain-info <terminated sector number>`, and check Expiration Info at the bottom. Both `OnTime` and `Early` are 0 indicates the sector is terminated.
2020-10-20 17:38:09 -04:00
Aayush Rajasekaran
556f92a823
Update to actors v2.2.0 at PostLiftoff epoch
2020-10-20 17:23:35 -04:00
whyrusleeping
abc3e783ff
bump lookback cap to 24 hours
2020-10-20 10:09:21 -07:00
whyrusleeping
6bc56c549a
add some methods that oni needs
2020-10-20 10:04:51 -07:00
Łukasz Magiera
869d71446d
miner: fix init --create-worker-key
2020-10-19 16:08:46 +02:00
Łukasz Magiera
1a10f95973
worker: Better miner connectivity check on startup
2020-10-18 19:53:23 +02:00
Łukasz Magiera
879aa9512d
worker: Use miner session for connectivity check
2020-10-18 17:56:29 +02:00
Łukasz Magiera
cf4dfa3a05
worker: Use http rpc for miner API
2020-10-18 13:59:38 +02:00
Łukasz Magiera
f933e1d2b7
miner cli: Update to uuid worker IDs
2020-10-18 13:03:17 +02:00
Łukasz Magiera
8d06cca073
sched: Handle workers using sessions instead of connections
2020-10-18 12:36:06 +02:00
Łukasz Magiera
7ac5dc55d0
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-17 13:45:11 +02:00
Łukasz Magiera
40e34b334a
Merge pull request #4423 from filecoin-project/asr/shed-robust
...
Make audit balances capable of printing robust addresses
2020-10-16 17:52:10 +02:00
whyrusleeping
a71fbee2d1
bump lookback limit to 12 hours
2020-10-15 16:49:25 -07:00
whyrusleeping
af1a422ddd
statevminternal circ supply
2020-10-15 16:36:45 -07:00
whyrusleeping
8351420404
Add more endpoints for spacegap
2020-10-15 16:27:49 -07:00
whyrusleeping
726eacbe03
add endpoints needed by spacegap
2020-10-15 13:54:58 -07:00
Whyrusleeping
17fcf30edd
Merge pull request #4373 from filecoin-project/feat/gateway-wallet-verify
...
add WalletVerify to lotus-gateway
2020-10-15 15:42:38 -05:00
Aayush Rajasekaran
8c7d2efe72
Make audit balances capable of printing robust addresses
2020-10-15 12:17:54 -04:00
Łukasz Magiera
c56ef260d5
Merge pull request #4421 from filecoin-project/fix/lite-msig-inspect
...
Ensure msig inspect cli works with lotus-lite
2020-10-15 15:11:34 +02:00
Łukasz Magiera
955d7f9c54
Merge pull request #4393 from filecoin-project/vectors/support-multiple-versions
...
conformance: support multiple protocol versions.
2020-10-15 14:29:23 +02:00
Raúl Kripalani
1fb9ed1c9a
remove TODO.
2020-10-15 12:58:43 +01:00
Raúl Kripalani
4e659e30c5
fix lint errors.
2020-10-15 12:14:16 +01:00
Dirk McCormick
f5d48b0e86
fix: lotus-gateway api tests
2020-10-15 12:47:24 +02:00
Dirk McCormick
9c99171cb8
fix: ensure msig inspect cli works with lotus-lite
2020-10-15 12:15:21 +02:00
Łukasz Magiera
ab4f051b83
sync wait --watch
2020-10-14 18:17:18 +02:00
Whyrusleeping
12f36c5bda
Update cmd/lotus-gateway/api.go
...
Co-authored-by: dirkmc <dirkmdev@gmail.com>
2020-10-14 09:22:25 -05:00
Raúl Kripalani
45cd510da1
conformance: support multiple protocol versions.
...
This PR introduces support for running multiple variants of a vector,
each of which targets a unique protocol version.
tvx tooling has been adapted to produce and parse the new version
of the schema.
2020-10-14 14:39:43 +01:00
Łukasz Magiera
4ad8d85b13
Merge pull request #4278 from filecoin-project/tvx/trace-puts
...
tvx: trace puts to blockstore for inclusion in CAR.
2020-10-14 12:08:06 +02:00
Aayush Rajasekaran
2613e837a9
Bugfix: Eligible miners should be computed based on start tipset, not end tipset
2020-10-14 03:01:41 -04:00
whyrusleeping
3d80c38064
support stateReadState in gateway
2020-10-13 14:23:08 -07:00
whyrusleeping
98c1aa7988
add WalletVerify to lotus-gateway
2020-10-13 13:31:20 -07:00
Łukasz Magiera
71b3b9075d
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-13 21:33:21 +02:00
Travis Person
20c57fcd0e
lotus-shed: post-find use lookback
2020-10-13 19:00:37 +00:00
ZenGround0
619ee1e6f9
add comma
2020-10-13 00:49:32 -04:00
ZenGround0
0e88f32d66
Fix bug and add flag
2020-10-13 00:47:43 -04:00
ZenGround0
546614455f
Fix print
2020-10-13 00:38:15 -04:00
ZenGround0
0b9499a00f
withpower flag
2020-10-13 00:29:43 -04:00
ZenGround0
448ca6e43c
less verbose
2020-10-13 00:17:09 -04:00
ZenGround0
c9955c0635
verbose flag
2020-10-12 23:59:30 -04:00
ZenGround0
768d2db114
Tipset traversal for speed
2020-10-12 23:53:14 -04:00
ZenGround0
79d94c4771
Hook up cmd
2020-10-12 23:09:40 -04:00
ZenGround0
a3e26233b2
Add postfind
2020-10-12 23:00:29 -04:00
Travis Person
be74a13736
lotus-pcr: ignore all other market messages
2020-10-12 21:41:48 +00:00
Aayush Rajasekaran
83624a8858
Rename StateVMCirculatingSupply to StateVMCirculatingSupplyInternal
2020-10-12 16:41:27 -04:00
Aayush Rajasekaran
96e1dfd8d7
Add an endpoint for precise circulating supply
2020-10-12 16:38:29 -04:00
Łukasz Magiera
224a96431f
Merge pull request #4319 from filecoin-project/asr/repay-debt-cli
...
Add a CLI tool for miner's to repay debt
2020-10-12 19:24:40 +02:00
Łukasz Magiera
2855c2bc49
Merge pull request #4329 from shaodan/ux-workers-cores
...
Improve the UX for `lotus-miner sealing workers`
2020-10-12 16:45:26 +02:00
Dan Shao
c0961fb63d
Improve the UX for lotus-miner sealing workers
: add total number of cores
2020-10-12 15:07:56 +08:00
Aayush Rajasekaran
b4215e5f46
Add a CLI tool for miner's to repay debt
2020-10-11 19:57:30 -04:00
Aayush Rajasekaran
bae3b7d594
add a shed util to determine % of power that has won a block
2020-10-11 19:05:54 -04:00
Jakub Sztandera
2b21fdef33
Refactor from crypto.SigType to types.KeyType
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:53 +02:00
Jakub Sztandera
7ee6bafd23
Fix lint warn
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:41 +02:00
Jakub Sztandera
753d7b71a9
Fix hardened path printing, show 20 addresses after empty
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:40 +02:00
Łukasz Magiera
8ae66d6c6a
Fix lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:40 +02:00
Łukasz Magiera
2c92157233
shed ledger: Some UX improvements
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:40 +02:00
Łukasz Magiera
66d6113340
ledgerwallet: Validate signing bytes
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:40 +02:00
Łukasz Magiera
99791a6953
lotus-wallet: ledger flag
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:40 +02:00
whyrusleeping
b35f9b56b4
WIP: adding in ledger support
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-12 00:07:40 +02:00
Jakub Sztandera
a36ec27230
Look at block base fee
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-11 21:14:51 +02:00
zgfzgf
bc1f18b73a
lotus bench optimize
2020-10-11 18:55:12 +08:00
zgfzgf
c3a405eac7
add lotus bench print
2020-10-11 18:26:27 +08:00
zgfzgf
e4209d86f6
lotus bench add ticket-preimage
2020-10-11 17:20:55 +08:00
zgfzgf
fcb9dea501
add sum sealing time
2020-10-11 16:31:39 +08:00
zgfzgf
c810b157cf
lotus bench delete ix
2020-10-11 11:39:27 +08:00
zgfzgf
c458f6e826
lotus bench replace abi.SectorID with sid
2020-10-11 11:25:19 +08:00
zgfzgf
c99e223cb1
lotus bench change and add print
2020-10-11 10:48:09 +08:00
zgfzgf
5c27d6aeee
lotus-bench UnsealPiece SectorID.Number error
2020-10-11 10:12:06 +08:00
Peter Rabbitson
e7d3b2503e
Merge tag 'v0.9.1'
2020-10-10 15:54:51 +02:00
Peter Rabbitson
6610a247cf
Dump the block validation cache whenever we perform an import
...
This solves a problem with folks resurrecting long-out-of-sync nodes via
snapshot imports.
The interface switch to Batching is necessary: startup is too long otherwise
( 8 minutes just to clear everything on a relatively old node )
2020-10-10 03:41:04 +02:00
Łukasz Magiera
a6d9b302fa
Merge pull request #3583 from filecoin-project/feat/signing-backends
...
Remote wallet backends
2020-10-10 02:58:02 +02:00
Raúl Kripalani
e0dcb0ec49
tvx: trace puts to blockstore for inclusion in CAR.
2020-10-09 22:20:15 +01:00
Steven Allen
748d2e82a7
unshare the journal
...
Motivation:
* Run lotus with the race detector enabled (primary motivation).
* Allow multiple lotus nodes in a process (not a high priority).
Previously, the journal was shared between all lotus instances, but it was
initialized for every new node. This caused safety problems in tests (at a
minimum).
This patch explicitly passes the journal to all services that need it.
2020-10-09 13:23:07 -07:00
Łukasz Magiera
fdaa9c14ad
Merge remote-tracking branch 'origin/master' into feat/signing-backends
2020-10-09 20:36:51 +02:00