Steven Allen
a64a059780
implement a command to export a car
2021-06-09 15:52:32 -07:00
Anton Evangelatov
beb5bffaf6
fix log.Error; rename RemoteStore
2021-06-09 13:05:54 +02:00
Anton Evangelatov
9f3ec82cc1
initial resolution of conflicts
2021-06-08 13:01:22 +02:00
aarshkshah1992
16166504f4
merged master
2021-06-08 09:17:40 +05:30
Raúl Kripalani
40ea660cdd
fix TestWorkerKeyChange.
2021-06-07 23:56:59 +01:00
Raúl Kripalani
a274fcc533
Merge branch 'master' into raulk/itests
2021-06-07 23:44:22 +01:00
Raúl Kripalani
db1a61852d
Merge branch 'master' into raulk/itests
2021-06-07 23:17:44 +01:00
aarshkshah1992
4efaa8d688
unit tests for the remote store Reader
2021-06-07 15:02:52 +05:30
aarshkshah1992
759d8f090b
test http handler
2021-06-07 15:02:52 +05:30
aarshkshah1992
65eb610ec3
docs, logs and green ci
2021-06-07 15:02:49 +05:30
Anton Evangelatov
8bd09e39ca
resolve merge conflicts
2021-06-04 16:17:00 +02:00
Łukasz Magiera
6d9779ecae
Merge remote-tracking branch 'origin/master' into feat/nv13-1.11
2021-06-02 15:07:13 +02:00
Łukasz Magiera
ae90d7c3b5
Fix lint
2021-06-02 12:00:39 +02:00
Travis Person
07102ec686
lotus-gateway: add check command
...
The check command provides a quick way to try out different transports
and verify that a connection can be made to a running gateway.
2021-06-02 11:59:11 +02:00
Łukasz Magiera
dc642d0b7b
Merge remote-tracking branch 'origin/feat/nv13' into feat/nv13-1.11
2021-06-01 21:06:58 +02:00
Łukasz Magiera
482e1110c2
precommit batcher: Improve error propagation
2021-06-01 14:35:30 +02:00
Łukasz Magiera
5c3ebd424c
miner: Improve batching CLI UX
2021-06-01 12:33:24 +02:00
Łukasz Magiera
cd0a1c97fa
Improve cli for flushing commit batches
2021-06-01 12:25:19 +02:00
Łukasz Magiera
3671f2a6ff
fix 2k build
2021-05-31 21:52:23 +02:00
Łukasz Magiera
c3e8eddb9b
Merge remote-tracking branch 'origin/master' into feat/nv13-1.11
2021-05-31 21:24:56 +02:00
Aayush Rajasekaran
92f544d96c
Add verifreg utils to CLI
2021-05-31 15:01:55 -04:00
Łukasz Magiera
937366f04a
lotus-wallet: Describe setup with auth
2021-05-31 14:33:54 +02:00
Łukasz Magiera
7d1ae7daf5
lotus-wallet: Support permissioned api
2021-05-31 13:56:35 +02:00
Łukasz Magiera
47608c1937
wallet: Handle jwt headers
2021-05-31 13:38:14 +02:00
Anton Evangelatov
d195a12565
Merge branch 'master' into nonsense/split-market-miner-processes
2021-05-31 11:26:11 +02:00
Anton Evangelatov
46a368d2b9
bump api ver
2021-05-27 13:35:54 +02:00
Łukasz Magiera
1e4456138e
Merge master into feat/nv13
2021-05-27 12:28:20 +02:00
Aayush Rajasekaran
1ad2c4dab0
Make devnets work again
2021-05-26 12:48:19 -04:00
Aayush Rajasekaran
7714537239
Allow starting networks from arbitrary actor versions
2021-05-26 12:48:14 -04:00
Łukasz Magiera
43c62f4406
Revert "Allow starting networks from arbitrary actor versions"
2021-05-26 12:33:08 +02:00
Aayush Rajasekaran
cf574ca9a1
Allow starting networks from arbitrary actor versions
2021-05-25 19:30:20 -04:00
Łukasz Magiera
f5409845b5
Some review addressing
2021-05-25 16:07:45 +02:00
Peter Rabbitson
c2e5a837e6
Adjust various CLI display ratios to arbitrary precision
...
Originally the deviations from using float64 were insignificant, but at
exabyte scale they start to show up. Cleanup all displays, and clarify
the expectation text, adding an extra 99.9% probability calculator to
`lotus-miner info`
2021-05-25 14:09:01 +02:00
Łukasz Magiera
05082e262a
Merge pull request #6316 from Aloxaf/fix_completion
...
Fix shell completions
2021-05-24 13:44:02 +02:00
Aloxaf
559c76a214
Fix shell completions
2021-05-24 15:00:47 +08:00
Raúl Kripalani
f6a7f21def
Merge branch 'raulk/refactor-rpc' into raulk/itests
2021-05-23 22:00:49 +01:00
Raúl Kripalani
57dab5b71c
remove previously redundant context.
2021-05-23 19:12:13 +01:00
Raúl Kripalani
d8d48953d9
Merge branch 'raulk/refactor-rpc' into raulk/itests
2021-05-23 18:47:55 +01:00
Raúl Kripalani
188688c9ce
refactor gateway rpc.
2021-05-23 18:37:53 +01:00
Raúl Kripalani
c3f45cc836
Merge branch 'raulk/refactor-rpc' into raulk/itests
2021-05-23 14:56:54 +01:00
Raúl Kripalani
2337248aa5
rpc: separate handlers/server; refactor miner rpc.
2021-05-23 14:48:42 +01:00
Raúl Kripalani
627248d610
Merge branch 'raulk/refactor-rpc' into raulk/itests
2021-05-23 12:41:25 +01:00
aarshkshah1992
dc6dbc9a11
dpr changes and test based on new unsealing PR
2021-05-22 22:40:21 +05:30
Raúl Kripalani
5b77dbd06f
decouple rpc server and shutdown logic from cmd.
2021-05-21 21:34:17 +01:00
Raúl Kripalani
2e9b0f0895
adapt cmd/lotus-storage-miner tests.
2021-05-21 14:52:30 +01:00
Łukasz Magiera
807c670184
Merge pull request #6135 from filecoin-project/asr/verifreg
...
Move verifreg shed utils to CLI
2021-05-21 11:21:38 +02:00
aarshkshah1992
bd9959070e
unit tests for the remote store Reader
2021-05-20 15:25:46 -06:00
aarshkshah1992
dd9c9fd4fd
test http handler
2021-05-20 15:25:46 -06:00
aarshkshah1992
73613ee883
docs, logs and green ci
2021-05-20 15:25:46 -06:00
Anton Evangelatov
8d3d3c88d4
introduce init service, refactor restore service
2021-05-20 13:25:54 +02:00
Raúl Kripalani
06b8ee5b95
Merge branch 'master' into raulk/itests
2021-05-20 11:56:43 +01:00
Anton Evangelatov
2562f2e9a6
add ReaderParamDecoder to json rpc server to lotus-miner run
2021-05-20 12:36:24 +02:00
Anton Evangelatov
2aad7b6979
update sectorstorage.New (Manager) interface
2021-05-20 12:32:29 +02:00
Łukasz Magiera
678812f35b
gofmt, lint
2021-05-20 12:05:04 +02:00
Łukasz Magiera
e0a520cb65
Merge pull request #6294 from filecoin-project/raulk/refactor-gateway
...
gateway: spin off from cmd to package
2021-05-19 20:59:37 +02:00
Raúl Kripalani
ac4f3ab684
remove duplicated vars.
2021-05-19 18:17:38 +01:00
Raúl Kripalani
2a70ff96bf
move the gateway test to itests package.
2021-05-19 17:34:48 +01:00
Raúl Kripalani
625b18771d
remove duplicated vars.
2021-05-19 17:30:06 +01:00
Łukasz Magiera
a5677d1b7a
ffiwrapper: Separate Prover interface
2021-05-19 15:20:23 +02:00
Raúl Kripalani
88c6642330
restructure gateway.
...
Move the gateway implementation to the `gateway` top-level
package. cmd/lotus-gateway now contains only the entrypoint.
This separation is important for the testing refactors.
2021-05-19 12:45:55 +01:00
Anton Evangelatov
a989f60e27
add SectorAddPieceToAny and SectorUnsealPiece to StorageMiner iface; model moved to api package - PieceDealInfo, DealSchedule
2021-05-19 13:05:07 +02:00
Aayush Rajasekaran
fc7ea8dfa3
Useful tool
2021-05-18 21:13:12 -04:00
Łukasz Magiera
0419c64a06
CLI for precommit batching
2021-05-18 20:35:35 +02:00
Łukasz Magiera
f66b9c5663
Maybe working precommit batching
2021-05-18 17:21:16 +02:00
Łukasz Magiera
6278bdc69a
Make things build
2021-05-17 20:47:41 +02:00
whyrusleeping
b4b38788ef
add flags to control gateway lookback parameters
2021-05-13 11:00:42 -07:00
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
bf10b051ff
Merge pull request #6108 from filecoin-project/feat/actors-codegen
...
wip actor wrapper codegen
2021-05-10 20:12:57 -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
Łukasz Magiera
a80259d986
Actor upgrade checklist
2021-05-10 19:46:44 -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
Aayush Rajasekaran
b5da2655dc
Introduce v5 actors
2021-05-10 19:44:28 -04:00
Łukasz Magiera
63189cd81d
Generate wrappers for new actor versions
2021-05-09 21:04:50 -04:00
Jakub Sztandera
18cbdcfc81
Disable checks API on Lotus Lite
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 17:19:17 +02:00
Jakub Sztandera
61dbd443b8
Fix tests and verifreg
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 15:30:05 +02:00
Jakub Sztandera
7535c5bb53
Add mpool manage
command
...
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
Łukasz Magiera
a24a73bb52
Merge tag 'v1.8.0' into release/v1.9.0
2021-04-27 10:30:33 +02:00
Łukasz Magiera
c4137a438d
Merge commit 'f1ded63d608e1b191d79c780b8065f8cff367c98' into feat/nv12-1.11
2021-04-27 08:22:55 +02:00
Aayush Rajasekaran
f1ded63d60
v4 specs-actors integration, nv12 migration
2021-04-27 02:02:44 -04:00
Łukasz Magiera
86d4f5f738
Merge pull request #6075 from filecoin-project/feat/gateway-walletbalance
...
implement WalletBalance on gateway
2021-04-23 16:00:54 +02:00
Aayush Rajasekaran
448b5cb2a3
Shed util to sanity-check total balance is FilBase
2021-04-22 19:45:35 -04:00
Cory Schwartz
39e49f1700
implement WalletBalance on gateway
2021-04-20 21:55:47 -07:00
chadwick2143
2cb3c89570
Fix bugs in sectors extend --v1-sectors
2021-04-20 14:00:01 +08:00
Łukasz Magiera
4436c184ed
Fix v0/v1 API versions
2021-04-16 00:20:13 +02: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
Łukasz Magiera
1e6bba5388
Merge pull request #5943 from filcloud/4857-set-addrs
...
fix 4857: show help for set-addrs
2021-04-10 02:00:34 +02:00
Frank
2dbd597f82
Update cmd/lotus-storage-miner/actor.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2021-04-08 11:14:53 +08: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
cf96ad4fdb
fix lint
2021-04-06 14:30:49 +02:00
Łukasz Magiera
c3736f40fe
gateway: use correct path in serveRpc
2021-04-06 12:29:11 +02:00
Łukasz Magiera
e8f28d7b9f
Fix tests
2021-04-06 12:24:58 +02:00
Frank
4403158680
add unset for set-addrs
2021-04-06 11:24:32 +08:00
Aayush Rajasekaran
37ca23d9e2
Merge branch 'releases' into asr/release-master
2021-04-05 17:29:19 -04:00
Łukasz Magiera
eee50caaf1
Fix buildall
2021-04-05 20:12:47 +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
d8bff4d19f
Make gateway work with v1 api
2021-04-05 13:47:10 +02:00
Łukasz Magiera
deb2b90b6a
Fix lotus/miner build
2021-04-05 13:23:46 +02:00
Aayush Rajasekaran
72c410cd8f
Address review on v1 sector extension tool
2021-04-03 22:19:36 -04:00
Aayush Rajasekaran
01bf3a89f4
Add checks to v1 extension util
2021-04-03 16:54:16 -04:00
Aayush Rajasekaran
b734e5a232
Miner CLI: If performing read-only operations on a foreign miner, miner API isn't needed
2021-04-03 16:54:16 -04:00
Aayush Rajasekaran
ded4ff43f4
Allow miners to extend all v1 sectors
2021-04-03 16:54:16 -04:00
zgfzgf
ef08bd48b5
add election backtest
2021-04-03 11:52:30 +08:00
Frank
0fe705605e
fix 4857: show help for set-addrs
2021-04-02 19:25:36 +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
Łukasz Magiera
d198cf456e
make docsgen work with versioned api
2021-03-23 17:20:56 +01:00
Łukasz Magiera
571114bc44
Scaffolding for API versioning
2021-03-23 16:40:22 +01:00
Łukasz Magiera
c41777dcd2
API proxy struct codegen ( #5854 )
...
* mostly working api proxy gen
* api: Consistent api names
* fix docsgen
* regenerate api struct
* api: expand external interfaces
* Add missing gen files
* apigen: fix perm detection
* api: Move perm tags to the interface
* gofmt
* worker perms
* docsgen
* docsgen: ignore tag comments
* apigen: add codegen warning
* gofmt
* missing actor type
* docsgen
* make linter happy
* fix lint
* apigen: use directives for tags
* docsgen
* regen openrpc docs
2021-03-23 13:42:56 +01:00
Łukasz Magiera
43d9cc36a4
OpenRPC Support ( #5843 )
...
* main: init implement rpc.Discover RPC method
This implement the basic functionality for the method
over HTTP RPC.
Signed-off-by: meows <b5c6@protonmail.com>
* main,go.mod,go.sum: init example with go-openrpc-reflect lib
Signed-off-by: meows <b5c6@protonmail.com>
Conflicts:
go.mod
go.sum
* main: make variable name human-friendly
Signed-off-by: meows <b5c6@protonmail.com>
* main,go.mod,go.sum: init impl of go-openrp-reflect printing document
Signed-off-by: meows <b5c6@protonmail.com>
Conflicts:
go.mod
go.sum
* go.mod,go.sum: use go-openrpc-reflect and open-rpc/meta-schema hackforks
This is for development only.
Versions need to be bumped when they're ready for use
as canonical remotes.
Signed-off-by: meows <b5c6@protonmail.com>
* main,openrpc,main: refactor openrpc supporting code to own package
This eliminates code duplication.
Signed-off-by: meows <b5c6@protonmail.com>
* main: add rpc.Discover to openrpc document
Signed-off-by: meows <b5c6@protonmail.com>
* openrpc: fix rpc.discover method name casing
Also fixes casing stuff for the rest of Filecoin.
methods.
Signed-off-by: meows <b5c6@protonmail.com>
* Revert "main: add rpc.Discover to openrpc document"
This reverts commit 116898efb10f33e405ac74acb1aa6daefcd46a62.
* main: fix document creation method name
This fixes an issue caused with the latest reverting
commit.
Signed-off-by: meows <b5c6@protonmail.com>
* main,docgen,openrpc: refactor to share api parsing, etc as docgen exported stuff
Signed-off-by: meows <b5c6@protonmail.com>
Makefile: fix docgen refactoring for makefile use of command
Signed-off-by: meows <b5c6@protonmail.com>
* openrpc: add schema.examples to app reflector
There are quite of few of these already registered
for the docgen command, so it makes sense to use
those!
Signed-off-by: meows <b5c6@protonmail.com>
* openrpc: init method pairing examples
Signed-off-by: meows <b5c6@protonmail.com>
* go.mod,go.sum: bump go.mod to use latest meta-schema and openrpc-reflect versions
Signed-off-by: meows <b5c6@protonmail.com>
* openrpc: init SchemaType mapper function
This function will handle the manual configurations
for app-specific data types w/r/t their json schema
representation.
This is useful for cases where the reflect library
is unable to provide a sufficient representation
automatically.
Provided in this commit is an initial implementation
for the integerD type (assuming number are represented
in the API as hexs), and a commonly used cid.Cid type.
Signed-off-by: meows <b5c6@protonmail.com>
* go.mod,go.sum: tame dependencies by bumping etclabscore/go-openrpc-reflect
This removes a problematic dependency
on github.com/ethereum/go-ethereum, which was
imported as a dependency for a couple github.com/etclabscore/go-openrpc-reflect
tests.
etclabscore/go-openrpc-reflect v0.0.36 has removed this
dependency, so this commit is the result of bumping
that version and then running 'go mod tidy'
This is in response to a review at
https://github.com/filecoin-project/lotus/pull/4711#pullrequestreview-535686205
Date: 2020-11-21 06:52:48-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* main: add 'miner' arg to openrpc gen cmd
This allows the command to EITHER
generate the doc for Full or Miner APIs.
See comment for usage.
Date: 2020-11-21 07:48:05-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* docgen: add missing examples for Miner API
Generating the Miner API OpenRPC doc
(via 'go run ./api/openrpc/cmd miner') caused
the example logic to panic because some types
were missing.
This commit adds those missing types, although
I'm not an expert in the API so I can't
suggest that the example values provided are
ideal or well representative.
Date: 2020-11-21 07:50:21-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* build/openrpc/full.json,build/openrpc/miner.json: add build/openrpc/[full/miner].json docs
These will be used as static documents
provided by the rpc.discover method.
Date: 2020-11-21 07:51:39-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* build: init go-rice openrpc static assets
Date: 2020-11-21 08:23:06-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* main: remove rpc.discover implementation from runtime plugin
Instead of generating the doc on the fly,
we're going to serve a static asset.
Rel https://github.com/filecoin-project/lotus/pull/4711#pullrequestreview-535686205
This removes the runtime implementation from the
RPC server construction.
Date: 2020-11-21 08:41:20-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api,apistruct,common: add Discover(ctx) method to CommonAPI interface and structs
Date: 2020-11-21 08:41:56-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* main: use rpc server method aliasing for rpc.discover
This depends on a currently-forked change at
filecoin-project/go-jsonrpc 8350f9463ee451b187d35c492e32f1b999e80210
which establishes this new method RPCServer.AliasMethod.
This solves the problem that the OpenRPC
spec says that the document should be served
at the system extension-prefixed endpoing
rpc.discover (not Filecoin.Discover).
In fact, the document will be available at BOTH
endpoints, but that duplicity is harmless.
Date: 2020-11-21 09:18:26-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api,apistruct,build,common: rpc.discover: return json object instead of string
Instead of casting the JSON asset from bytes to string,
unmarshal it to a map[string]interface{} so the
server will provide it as a JSON object.
Date: 2020-11-21 09:27:11-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* Makefile: merge resolve: docsgen command path
Date: 2020-11-22 07:19:36-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* apistruct,main,docgen,openrpc: merge resolve: fix func exporteds, signatures
Date: 2020-11-22 07:31:03-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* go.mod,go.sum: 'get get' auto-bumps version
Date: 2020-11-22 07:31:44-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* Makefile,docgen,main,build/openrpc: refactor openrpc documentation generation
This creates Makefile command docsgen-openrpc-json,
and refactors the docsgen command to generate both
the markdown and openrpc json documents, redirecting
the output of the openrpc json documentation to
the build/openrpc/ directory, where those json
files will be compiled as static assets via go-rice
boxes.
The api/openrpc/cmd now uses usage argumentation
congruent to that of the docgen command (switching
on API context).
Date: 2020-11-22 08:01:18-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* main,docgen_openrpc: rename api/openrpc -> api/docgen-openrpc
Renames the package as well.
This is intended to parallel the
existing docgen package and command
namespacing.
Date: 2020-11-22 10:34:46-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api,apistruct,docgen,build,build/openrpc: use typed Discover response
Instead of using a map[string]interface{}, use
a typed response for the Discover method implementation.
This avoids having to set a docgen Example for
the generic map[string]interface{} (as an openrpc document)
which both pollutes the generic type and lacks
useful information for the Discover method example.
Date: 2020-11-22 08:31:16-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* apistruct,build,main,impl: implement Discover method for Worker and StorageMiner APIs
Methods return static compiled assets respective
to the APIs.
Date: 2020-11-22 08:57:18-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* docgen_openrpc,build/openrpc: remove timestamping from openrpc doc info
This should allow openrpc docs generated at different
times to be equal. This is important because the CI
(Circle) runs the docgen command and tests that
the output and the source are unchanged (via git diff).
Date: 2020-11-22 10:47:07-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* main,docgen_openrpc,main,build: fix lint issues
Fixes goimports, staticcheck, golint issues.
Date: 2020-11-22 11:06:46-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* docgenopenrpc: fix: don't use an underscore in package name (golint)
Date: 2020-11-22 11:07:53-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* go.sum: fix: mod-tidy-check (run 'go mod tidy')
Date: 2020-11-22 11:09:48-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* go.mod,go.sum: bump filecoin-project/go-jsonrpc dep to latest
This version includes the necessary RPCServer.AliasMethod
method.
Date: 2020-11-23 12:16:15-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* Makefile,main,build,build/openrpc: init gzipped openrpc static docs
Date: 2020-11-24 06:15:06-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* build: refactor gzip reading
Date: 2020-11-24 06:18:34-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* build: add basic test for openrpc doc from static assets
Date: 2020-11-24 06:30:23-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* build: handle reader Close error
This keeps the errcheck linter happy.
Date: 2020-11-24 06:33:14-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* go.sum: run 'go mod tidy'
Date: 2020-11-24 06:36:07-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* go.mod,go.sum: go mod tidy
Tidying up after resolving the merge conflicts
with master at go.mod
Date: 2020-11-24 06:40:45-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* go.mod,go.sum: bump filecoin-project/go-jsonrpc to latest
This is a repeat of 76e6fd2, since the latest merge
to master seems to have reverted this.
Date: 2020-11-24 06:42:30-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* docgenopenrpc,build/openrpc: remove method example pairings, improve schema examples
Removing method example pairings since they were
redundant to schema examples and were not
implemented well.
Improved schema examples by using the ExampleValue
method instead of the map lookup.
Made a note in the comment here that this is
not ideal, since we have to make a shortcut assumption
/workaround by using 'unknown' as the method name
and the typea as its own parent.
Luckily these values aren't heavily used by the
method logic.
Date: 2020-11-27 12:57:36-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* docgenopenrpc: use generic number jsonschema for number types
Previously used an integer schema assuming
hex encoding. It appears, based on review some
of the examples, that this may not be the case.
Obvioussly this schema could be more descriptive,
but just shooting for mostly likely to be
not wrong at this point.
Date: 2020-12-15 14:44:37-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* cmd/lotus,go.mod,go.sum: maybe fix straggling merge resolution conflicts
Date: 2021-01-19 12:30:42-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* build/openrpc/full.json.gz,build/openrpc/miner.json.gz,build/openrpc/worker.json.gz: run 'make docsgen'
Date: 2021-01-19 12:33:55-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api/apistruct,node/impl: (lint) gofmt
Date: 2021-01-19 12:39:48-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api/docgen: maybe fix parse error: open ./api: no such file or directory
Date: 2021-01-19 12:52:04-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api/docgen,build/openrpc: maybe fix no such file error and run 'make docsgen'
Date: 2021-01-19 12:55:52-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api/docgen: return if AST comment/groupdoc parsing encounters any error
This will returns empty comments/docs maps.
This should fix issues like:
https://app.circleci.com/pipelines/github/filecoin-project/lotus/12445/workflows/4ebadce9-a298-4ad1-939b-f19ef4c0a5bf/jobs/107218
where the environment makes file lookups hard or
impossible.
Date: 2021-01-19 13:04:58-06:00
Signed-off-by: meows <b5c6@protonmail.com>
* api: Don't depend on build/
* make: support parallel docsgen
* openrpc gen: Use simple build version
* methodgen
* goimports
Co-authored-by: meows <b5c6@protonmail.com>
2021-03-19 19:22:46 +01:00
Peter Rabbitson
c340750672
Nerpa reset backport/cherry-pick from 73eabc310f
2021-03-18 20:55:15 +01:00
Aayush Rajasekaran
80ff0b0564
Improve setting of VRK multisigs
2021-03-17 00:18:50 -04: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
a373fc4c4c
make lotus-miner info all more robust
2021-03-12 12:23:43 +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
Łukasz Magiera
05274943c9
Merge pull request #5620 from filecoin-project/feat/disable-owner-worker-fallback
...
miner: Config to disable owner/worker address fallback
2021-03-10 11:21:39 +01:00
Łukasz Magiera
40fdf6c180
Merge pull request #5624 from filecoin-project/feat/miner-storage-limit
...
Configurable storage path storage limit
2021-03-10 11:15:28 +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
Łukasz Magiera
58cacda733
Fix bootstrapper profile setting
2021-03-09 23:46:13 +01:00
Łukasz Magiera
1c62d7a40f
Merge pull request #5729 from filecoin-project/feat/api-no-dep-build
...
Feat/api no dep build
2021-03-09 16:01:53 +01:00
Steven Allen
5304df52ca
fix lotus-shed compile
2021-03-08 17:19:31 -08:00
Steven Allen
6addd9afcc
remove unused imports
2021-03-08 16:43:21 -08:00
Łukasz Magiera
58d7627168
Merge pull request #5730 from filecoin-project/asr/genesis-rootkey
...
Customize verifreg root key and remainder account when making genesis
2021-03-08 22:42:09 +01:00
Łukasz Magiera
305c2ec77d
miner: Config to disable owner/worker addcess fallback
2021-03-08 21:33:46 +01:00
Łukasz Magiera
7c7b107e97
Add max-storage flags to storage attach commands
2021-03-08 20:59:59 +01:00
Łukasz Magiera
8a5cd21034
Merge pull request #5666 from filecoin-project/feat/extend-sectors-cmd
...
Command to extend sector expiration
2021-03-08 17:57:35 +01:00
Aayush Rajasekaran
6534280673
lotus-seed: add a command to set the remainder
2021-03-06 01:43:48 -05:00
Aayush Rajasekaran
dbbcb1423f
lotus-seed: add a command to set the verified registry root key
2021-03-06 01:43:48 -05:00
whyrusleeping
e7a1d72ba8
extract build/version to api/version, remove api package dep on build
2021-03-05 14:28:13 -08:00
Łukasz Magiera
58e49e3259
Move api client builders to a cliutil package
2021-03-05 21:08:41 +01:00
Łukasz Magiera
fe230f901e
Collect worker task metrics
2021-03-05 12:48:17 +01:00
Łukasz Magiera
448813d2fe
Merge pull request #5695 from filecoin-project/feat/segregate-blockstores
...
segregate chain and state blockstores
2021-03-03 10:53:46 +01:00
Łukasz Magiera
8bd5173a54
Merge branch 'next' into refactor/lib/blockstore
2021-03-01 19:04:40 +01:00
Łukasz Magiera
5fe37404bc
Merge remote-tracking branch 'origin/master' into next
2021-03-01 19:03:01 +01: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
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
Ł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
Jakub Sztandera
87f2719195
Complete mask command
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-29 20:58:09 +01:00
Łukasz Magiera
ad9a5acb7f
miner sectors list: flags for events/seal time
2020-10-29 19:10:20 +01:00
whyrusleeping
77ec7caaad
WIP: add a command for compacting sector numbers bitfield
2020-10-29 00:18:10 -07: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
Łukasz Magiera
ab8286fa38
Fix docsgen, lotus-soup build
2020-10-09 18:43:22 +02:00
Dirk McCormick
7f7c9e978f
feat: hide lite mode flag
2020-10-09 11:56:25 +02:00
Dirk McCormick
200a95f824
refactor: unify test builder full node options
2020-10-09 11:56:25 +02:00
Dirk McCormick
d69e4c7cf2
refactor: lite-mode - simplify organization of dep injection
2020-10-09 11:54:42 +02:00
Dirk McCormick
b2834baa4b
feat: add msig available balance and vested to lite mode
2020-10-09 11:51:20 +02:00
Dirk McCormick
e9e27cbbb0
feat: put gateway in middle of end-to-end test for lite mode
2020-10-09 11:48:35 +02:00
Dirk McCormick
ef73b964fb
feat: add end-to-end test for lite mode
2020-10-09 11:48:35 +02:00
Dirk McCormick
7b1bec91ed
feat: add tests for gateway ChainGetTipsetByHeight
2020-10-09 11:45:16 +02:00
Dirk McCormick
b32d25c562
feat: add RPC for GasEstimateMessageGas
2020-10-09 11:45:16 +02:00
Dirk McCormick
767611247c
feat: add RPC for StateWaitMsg
2020-10-09 11:45:16 +02:00
Dirk McCormick
be09a8a00a
feat: lite-mode - check that gateway API implements required chain, mpool, state methods
2020-10-09 11:43:03 +02:00
Dirk McCormick
2719adc1b1
feat: lite-mode - thin client for chan & state
2020-10-09 11:43:03 +02:00
Dirk McCormick
8fa4c0a970
feat: gateway - MpoolPush
2020-10-09 11:43:03 +02:00
Dirk McCormick
00a14de094
feat: gateway - StateLookupID
2020-10-09 11:43:03 +02:00
Dirk McCormick
eec13ff8dc
refactor: daemon - simplify gateway cleanup
2020-10-09 11:43:03 +02:00
Dirk McCormick
1ffdd7d5b3
fix: gateway - remove tracing (JsonRPC automatically traces all calls)
2020-10-09 11:43:03 +02:00
Dirk McCormick
e19cd9ed01
feat: lotus-lite - replace wallet StateManager with thin client to gateway
2020-10-09 11:43:03 +02:00
Łukasz Magiera
356137439f
apistruct: Drop unused WalletSignMessage
2020-10-09 03:12:33 +02:00
Łukasz Magiera
6cc7559b04
Fix APIInfo import cycle in tests
2020-10-09 02:58:12 +02:00
Łukasz Magiera
6a10af626c
Nicer message logging in lotus-wallet
2020-10-09 01:50:46 +02:00
Łukasz Magiera
7d2f06cfbd
Fix WalletSign in tests
2020-10-09 01:34:48 +02:00
Łukasz Magiera
6e8efb9d2c
gofmt
2020-10-09 01:27:49 +02:00
Łukasz Magiera
f3dc730b05
wallet: Add metadata to WalletAPI.WalletSign
2020-10-09 01:27:38 +02:00
Łukasz Magiera
114776f2c5
wallet: Drop WalletSignMessage from WalletAPI
2020-10-09 01:04:59 +02:00
Łukasz Magiera
4835109470
wallet: Post-merge fixes
2020-10-09 00:51:04 +02:00
Łukasz Magiera
8783c7434e
Merge remote-tracking branch 'origin/master' into feat/signing-backends
2020-10-09 00:50:41 +02:00
Łukasz Magiera
26ed6af040
Merge pull request #4227 from filecoin-project/par-upper-bounds
...
Increase the message fee cap upper bounds in PCR.
2020-10-08 23:34:32 +02:00
Ingar Shu
c3420c0ceb
Display price, verified-price with units in lotus-miner storage-deals get-ask
2020-10-08 12:08:01 -07:00
Ingar Shu
2ad671649c
Use FIL units for miner set-ask
2020-10-08 11:31:32 -07:00
Łukasz Magiera
d26ece10b8
Merge pull request #4241 from filecoin-project/fix/daemon-flag-clash
...
fix: clash between daemon --api flag and cli tests
2020-10-08 18:30:47 +02:00
Łukasz Magiera
df67576b89
Merge pull request #4233 from filecoin-project/fix/balances-audit-no-suffix
...
Some improvements to the lotus-shed balance audit commands
2020-10-08 17:02:21 +02:00
Raúl Kripalani
8d2d74438b
Merge pull request #4221 from filecoin-project/conformance/randomness
2020-10-08 15:16:32 +01:00
Dirk McCormick
cb7d99fcc7
fix: clash between daemon --api flag and cli tests
2020-10-08 14:24:50 +02:00
Łukasz Magiera
7332a39f00
Merge remote-tracking branch 'origin/master' into fix/balances-audit-no-suffix
2020-10-08 13:58:40 +02:00
Łukasz Magiera
0de3051821
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-08 13:10:41 +02:00
Aayush Rajasekaran
304d835739
Merge branch 'master' into next
2020-10-07 23:03:59 -04:00
whyrusleeping
cd9af278b4
more info in audit outputs
2020-10-07 17:01:01 -07:00
whyrusleeping
8f4911ac0d
dont print fil suffix in lotus shed audit balances
2020-10-07 16:00:52 -07:00
Travis Person
ae3691e0a2
lotus-pcr: zero refund
2020-10-07 21:53:56 +00:00
Jennifer
e55b00f358
Increase the message fee cap upper bounds in PCR.
2020-10-07 17:07:19 -04:00
Raúl Kripalani
5bd6a3cdad
conformance: record randomness in tvx; replay in driver.
2020-10-07 19:57:42 +01:00
Steven Allen
df4b068d0e
Merge branch 'master' into next
2020-10-07 11:55:00 -07:00
Travis Person
0d34881a0c
lotus-pcr: ignore all other messages
2020-10-07 18:50:50 +00:00
Łukasz Magiera
81fb552e1d
Merge pull request #4211 from filecoin-project/conformance/minor-refactors
...
conformance: minor driver refactors.
2020-10-07 14:57:00 +02:00
Łukasz Magiera
cfd126ee9f
Merge pull request #3961 from filecoin-project/docs/miner-storage
...
lotus-miner: add more help text to storage / attach
2020-10-07 14:55:42 +02:00
Raúl Kripalani
d3dc560f53
conformance: minor refactors.
2020-10-07 13:01:08 +01:00
Łukasz Magiera
c6e0cb4ff2
Merge pull request #4205 from filecoin-project/feat/noncefix-manual-fee-cap
...
allow manual setting of noncefix fee cap
2020-10-07 08:08:52 +02:00
Łukasz Magiera
f6eb530cba
Merge pull request #4203 from filecoin-project/fix/pond-actorsv2
...
Fix pond
2020-10-07 07:55:38 +02:00
Travis Person
f4991e868e
Merge pull request #4198 from filecoin-project/feat/lotus-pcr-cap-limit
...
Limit the fee cap of messages we will process, refund gas fees for windowed post and storage deals
2020-10-06 21:03:43 -07:00
Aayush Rajasekaran
0ec2a10ebc
Merge branch 'master' into next
2020-10-06 21:09:20 -04:00
whyrusleeping
be92dd9e63
allow manual setting of noncefix fee cap
2020-10-06 18:07:34 -07:00
Aayush Rajasekaran
c23f1623a1
Fix test
2020-10-06 20:48:00 -04:00
Łukasz Magiera
15670942c3
Fix pond
2020-10-07 01:50:11 +02:00
whyrusleeping
74016ab1cc
fix noncefix
2020-10-06 16:46:47 -07:00
Travis Person
087030fe37
lotus-pcr: refund windowed post and storage deal gas fees
2020-10-06 22:35:04 +00:00
Łukasz Magiera
2f70a91665
Merge remote-tracking branch 'origin/master' into next
2020-10-06 23:54:59 +02:00
Travis Person
4a3081c77a
lotus-pcr: limit refunds to properly priced messages
2020-10-06 20:13:48 +00:00
Aayush Rajasekaran
7a80e356de
Add a CLI command to set a miner's owner address
2020-10-06 05:11:52 -04:00
Łukasz Magiera
0e2f697217
Merge pull request #4133 from filecoin-project/feat/backup
...
Miner backup/restore commands
2020-10-06 02:05:03 +02:00
Łukasz Magiera
70d88f226e
Add usage to repo-type in shed datastore
2020-10-06 01:33:51 +02:00
Steven Allen
b6500beaab
Merge branch 'master' into asr/spec-v1
2020-10-05 10:29:09 -07:00
Łukasz Magiera
ed03202c1d
Test lotus-miner info all
2020-10-05 14:15:14 +02:00
Łukasz Magiera
0fee5dab8a
Merge pull request #4077 from filecoin-project/4076-remove-ask-duration
...
Always use default 720h for setask duration and hide the duration param option
2020-10-04 13:59:41 +02:00
Łukasz Magiera
921d78f820
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-04 10:39:55 +02:00
Łukasz Magiera
1fc23fb466
lotus-miner: Cleanup storage attach helptext a bit
2020-10-03 11:30:22 +02:00
Steven Allen
8292d60196
Merge branch 'master' into asr/spec-v1
2020-10-02 18:03:03 -07:00
Łukasz Magiera
bd964b4c3e
Merge pull request #4124 from filecoin-project/asr/verifreg
...
Some helpers for verifreg work
2020-10-03 00:20:45 +02:00
Łukasz Magiera
6f33706025
Merge remote-tracking branch 'origin/master' into feat/backup
2020-10-03 00:08:23 +02:00
Łukasz Magiera
1319d7072e
shed: Fix lint
2020-10-02 23:54:03 +02:00
Łukasz Magiera
f147072284
Merge remote-tracking branch 'origin/master' into feat/pruning-command
2020-10-02 23:37:25 +02:00
Łukasz Magiera
3bebdb3882
Merge remote-tracking branch 'origin/master' into feat/mpool-gateway-api
2020-10-02 23:09:55 +02:00
Jakub Sztandera
6b5f8a6b1d
Add options to set BlockProfileRate and MutexProfileFraction
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-02 19:06:41 +02:00
Łukasz Magiera
078044153f
pcr: Appease the linter
2020-10-01 21:07:39 +02:00
Łukasz Magiera
9b4274638c
pcr: fix build
2020-10-01 20:51:36 +02:00
Łukasz Magiera
1253a5600e
Merge remote-tracking branch 'origin/master' into feat/lotus-pcr-miner-recovery
2020-10-01 20:41:30 +02:00
Łukasz Magiera
ec7282ff09
miner restore: Resolve worker key for wallet check
2020-10-01 17:55:48 +02:00
Łukasz Magiera
738efe3f9a
miner restore: Add progerss bar for metadata import
2020-10-01 17:55:48 +02:00
Łukasz Magiera
e444977891
Full node metadata backup
2020-10-01 17:55:48 +02:00
Łukasz Magiera
5c33982f72
miner restore: storage config flag
2020-10-01 17:55:48 +02:00
Łukasz Magiera
44747446a9
miner restore: config flag
2020-10-01 17:55:48 +02:00
Łukasz Magiera
d7ec5e3618
lotus-miner init restore
2020-10-01 17:55:48 +02:00
Łukasz Magiera
9b5a0815fc
backup: open datastores in readonly in offline mode
2020-10-01 17:55:47 +02:00
Łukasz Magiera
deac7166b5
Support offline backups
2020-10-01 17:55:47 +02:00
Łukasz Magiera
c8a3269c4b
shed: utils to read datastore backups
2020-10-01 17:55:47 +02:00
Łukasz Magiera
2dc9a1ee4e
lotus-miner backup command
2020-10-01 17:55:47 +02:00
Łukasz Magiera
d20ebe93b9
shed: gofmt
2020-10-01 17:55:47 +02:00
Łukasz Magiera
6875527224
shed: Datastore utils
2020-10-01 17:55:46 +02:00
Aayush Rajasekaran
93e4eae94c
Some helpers for verifreg work
2020-10-01 04:49:38 -04:00
Łukasz Magiera
5932f28519
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-01 02:39:48 +02:00
Aayush Rajasekaran
7699f195f1
Merge pull request #4108 from filecoin-project/feat/nice-sectorslist
...
Improve miner sectors list UX
2020-09-30 19:07:23 -04:00
Steven Allen
6825a485eb
update message extraction tool for specs-actors update
2020-09-30 14:28:25 -07:00
Łukasz Magiera
2cfe22d4e5
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-30 20:48:16 +02:00
Łukasz Magiera
e3ee4e4718
Fix lint errors
2020-09-30 20:24:03 +02:00
Steven Allen
4989b1cc90
Merge branch 'master' into asr/spec-v1
2020-09-30 09:19:12 -07:00
Łukasz Magiera
6ddea62d09
shed: gofmt
2020-09-30 17:26:24 +02:00
Łukasz Magiera
46a5beafe4
shed: Datastore utils
2020-09-30 17:25:33 +02:00
Łukasz Magiera
5bffea6f54
Merge pull request #4064 from filecoin-project/tvx
...
tvx: a test vector extraction and execution tool
2020-09-30 17:22:42 +02:00
Raúl Kripalani
1c4f8e83d7
tvx/extract-many: add batch id, change generated filename.
2020-09-30 16:11:44 +01:00
Raúl Kripalani
f58881e966
minor fixes.
2020-09-30 14:57:24 +01:00
Łukasz Magiera
4d4bab12eb
Improve miner sectors list UX
2020-09-30 13:34:05 +02:00
Raúl Kripalani
eb6191d0ff
tvx: precursor selection modes; canonical message fetching; basefee.
2020-09-30 11:02:10 +01:00
Aayush Rajasekaran
c77ab47cb5
Merge pull request #4103 from filecoin-project/asr/config
...
Add an option to set config
2020-09-30 03:33:52 -04:00
Łukasz Magiera
bc85e3ce50
Merge pull request #4107 from shaodan/worker-no-swap
...
Add --no-swap flag for worker
2020-09-30 09:25:57 +02:00
Aayush Rajasekaran
6abccc4d5e
Add an option to set config
2020-09-30 03:19:04 -04:00
Dan Shao
1affd498c1
Add --no-swap flag for worker
2020-09-30 14:23:35 +08:00
Aayush Rajasekaran
a4e7117429
Add lotus shed util to validate a tipset
2020-09-30 01:29:04 -04:00
Łukasz Magiera
91d04ede0f
Merge pull request #4051 from filecoin-project/chore/final-dealstat-version
...
Chore/final dealstat version
2020-09-29 19:39:16 +02:00
Łukasz Magiera
0ba911279a
Merge pull request #3888 from filecoin-project/feat/bench-cache
...
Implement caching syscalls for import-bench
2020-09-29 16:38:05 +02:00
Łukasz Magiera
867ca2f25d
Merge pull request #3434 from filecoin-project/feat/shed-import-object-cmd
...
add a command to import an ipld object into the chainstore
2020-09-29 15:02:31 +02:00
Jakub Sztandera
7e8c6e5070
Remove statediff, fix lint, go mod tidy
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:47 +02:00
Jakub Sztandera
0d914ac1d4
Switch to badger
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:47 +02:00
Jakub Sztandera
76db65b1af
Update pebble
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:47 +02:00
Jakub Sztandera
ff8c0af8c8
Add only-import option
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:47 +02:00
Jakub Sztandera
55c6b88537
Add toggle for badger, flag out gas tracing
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:46 +02:00
Jakub Sztandera
0771c23fb0
Use pebble
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:46 +02:00
Jakub Sztandera
242a77b391
go mod tidy
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:18 +02:00
Jakub Sztandera
35cf69ae64
Disable bloomcache
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:18 +02:00
Jakub Sztandera
ebc8489ff1
Add global-profile option
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:18 +02:00
Jakub Sztandera
f21c5cbbe2
Add start-at
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:18 +02:00
Jakub Sztandera
01386a206c
Update options
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:18 +02:00
Jakub Sztandera
3858309368
Add http to import bench
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:17 +02:00
Jakub Sztandera
782717948a
Add logs
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:17 +02:00
Jakub Sztandera
108fe7823c
Add command to trigger gc
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:17 +02:00
Jakub Sztandera
12a0dd3d0a
<3 to linter
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:17 +02:00
Jakub Sztandera
1f4d1dcc58
Do not sync
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:17 +02:00
Jakub Sztandera
53ab17cf50
Add no import to import-bench
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:17 +02:00
Jakub Sztandera
79ba4598d6
Implement cache
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:17 +02:00
Jakub Sztandera
96193c2044
Implement bench-cache
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-29 14:49:11 +02:00
Łukasz Magiera
edf1875e88
Merge pull request #4003 from filecoin-project/option-to-hide-sectors
...
Added an option to show or not show sector info for `lotus-miner info`
2020-09-29 14:26:23 +02:00
Aayush Rajasekaran
be9d23b329
Centralize some params in builtin
2020-09-29 02:25:43 -04:00
Raúl Kripalani
044674487e
fix double mutex.
2020-09-28 23:14:37 +01:00
Raúl Kripalani
9b403e26e5
fix lint.
2020-09-28 23:07:45 +01:00
Raúl Kripalani
4b3b35c9de
conformance: record and feed circulating supply.
2020-09-28 23:04:52 +01:00
Steven Allen
ca9448bc11
rename actors v1 -> actors v2
...
The actual actors version is v2, not v1. Using Version1 internally was really confusing.
2020-09-28 13:13:18 -07:00
Łukasz Magiera
9bd2537971
stores: Fix error printing in http handler
2020-09-28 22:06:03 +02:00
Steven Allen
947d1e2902
Merge branch 'master' into asr/spec-v1
2020-09-28 12:53:40 -07:00
Steven Allen
5f3160cf5b
continue expanding vm abstraction layer
2020-09-28 12:48:08 -07:00
jennijuju
64f24fd276
Added an option to hide sector info for lotus-miner info
2020-09-28 15:42:50 -04:00
Łukasz Magiera
bf554d0e43
worker: Redeclare storage early on reconnect
2020-09-28 21:11:25 +02:00
Łukasz Magiera
810c767200
worker: Redeclare storage on reconnect
2020-09-28 21:06:49 +02:00
jennijuju
124bd0c765
Always use default 720h for setask duration and hide the duration param option.
2020-09-28 14:58:46 -04:00
Łukasz Magiera
4ba7af6061
worker: Mark return methods as retry-safe
2020-09-28 20:46:44 +02:00
Łukasz Magiera
86cf3c835e
worker: Reconnect correctly
2020-09-28 18:30:45 +02:00
Raúl Kripalani
96f882860f
add extract-many command.
2020-09-28 17:02:56 +01:00
Raúl Kripalani
9f6862a456
fix lint.
2020-09-28 13:22:56 +01:00
Raúl Kripalani
4c9717187f
tvx/extract: small refactor.
2020-09-28 13:19:45 +01:00
Raúl Kripalani
a0dffb44d3
tvx/extract: perform sanity check on receipt.
2020-09-28 13:11:34 +01:00
Raúl Kripalani
8f3be78667
tvx/extract: allow passing in block to speed things up.
2020-09-28 13:00:07 +01:00
Raúl Kripalani
dfdcbd184d
add --repo flag.
2020-09-28 12:35:01 +01:00
Raúl Kripalani
f05a40feed
use lotus CLI package; document API endpoint setting in usage.
2020-09-28 12:27:42 +01:00
Łukasz Magiera
f809529699
daemon cmd: Support imports straight from http
2020-09-28 12:30:12 +02:00
Łukasz Magiera
a3145bae07
daemon cmd: Add progress bar to chain import
2020-09-28 12:17:54 +02:00
Łukasz Magiera
a9d1ca4d83
Change order in miner sectors list
2020-09-28 12:08:09 +02:00
Raúl Kripalani
9a355c4bc5
fix lint errors.
2020-09-27 21:11:32 +01:00
Raúl Kripalani
fe869c9c22
address review comments; lint.
2020-09-27 21:06:07 +01:00
Raúl Kripalani
f5f23f7291
driver: option for VM flushing.
2020-09-27 20:55:09 +01:00
Raúl Kripalani
a712c109d8
tvx/extract: print confirmation.
2020-09-27 20:30:32 +01:00
Raúl Kripalani
e5c56da321
move conformance tvx tool to lotus.
2020-09-27 20:10:05 +01:00
Peter Rabbitson
be5dc2c57f
Walk back 10 epochs for stat generation
2020-09-27 20:45:45 +02:00
Peter Rabbitson
e4c1f090af
Disable exclusion of miner-associated addresses
2020-09-27 20:44:50 +02:00
Peter Rabbitson
fb3bcc4ce5
Add startup warning
2020-09-26 21:49:05 +02:00
Peter Rabbitson
1483f1e59a
Add filtering of addresses associated with miners
2020-09-26 21:45:34 +02:00
Peter Rabbitson
10cdbadd82
Arrange json as the frontend expects it
2020-09-26 21:44:40 +02:00
Peter Rabbitson
8955b8d8a7
Centralize filtering, output wallet addresses
2020-09-26 21:44:36 +02:00
Łukasz Magiera
cf71f034dc
Merge remote-tracking branch 'origin/dev' into feat/async-restartable-workers
2020-09-26 12:35:32 +02:00
Łukasz Magiera
c243378cab
Merge pull request #4032 from filecoin-project/fix/bench-2k
...
Move policy change to seal bench
2020-09-26 10:27:03 +02:00
Łukasz Magiera
ef28ebb14a
Ignition upgrades, much excite.
2020-09-25 23:55:37 -07:00
Jakub Sztandera
4eec4a0141
Move policy change to seal bench
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-25 23:28:12 +02:00
Aayush Rajasekaran
8fbbebbaf1
Correct helptext around set ask
2020-09-25 00:11:10 -04:00
Łukasz Magiera
a8fcb86c10
miner allinfo: Don't fail if sector status fails
2020-09-24 22:17:20 +02:00
whyrusleeping
4eaa05db52
add some more big pictures stats to stateroot stat
2020-09-24 09:40:49 -07:00
Łukasz Magiera
cdda66a154
Merge pull request #3942 from filecoin-project/3941-deadline-info
...
3941: Added cmd `lotus-miner proving deadline <deadline index>`
2020-09-24 16:25:45 +02:00
jennijuju
f8f335df55
3941: Added cmd `lotus-miner proving deadline <deadline index>"
...
- To show the current proving period deadline information of given deadline index.
- It outputs the following:
- number of partitions in this deadline
- partitions numbers has submitted PoSt since the current proving period started
- if the deadline is the current proving deadline
- for each patition, shows the amount of the sectors in this partition, and their numbers. Also, shows the number of fault sectors and corresponding sector numbers.
2020-09-24 16:23:12 +02:00
Łukasz Magiera
04ee53e061
sectorstorage: Show task type of ret-wait jobs
2020-09-24 11:55:11 +02:00
Steven Allen
32a699d6a3
Add some actors policy setters for testing
...
Addresses:
* a307e4593a (r491966115)
* a307e4593a (r491966634)
Note: This puts everything into a policy package to avoid a dependency cycle
between the build package, the miner package, and the types package. This is
also why I introduced a GetPreCommitChallengeDelay function and removed the
variable.
2020-09-23 15:00:52 -07:00
Łukasz Magiera
f57652524c
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-23 22:31:27 +02:00
Łukasz Magiera
97a97fe992
Merge pull request #3944 from filecoin-project/update-state-arg-name
...
When doing `sectors update-state`, show a list of existing states if user inputs an invalid one.
2020-09-23 22:19:15 +02:00
Łukasz Magiera
f4f5ef6f83
Merge pull request #3963 from filecoin-project/feat/dealstats
...
Add basic deal stats api server for spacerace slingshot
2020-09-23 22:17:03 +02:00
Łukasz Magiera
a1281273bc
shed dealtracker: fix lint, env var filter
2020-09-23 22:10:02 +02:00
Łukasz Magiera
d817dceb05
Show lost calls in sealing jobs cli
2020-09-23 19:26:35 +02:00
jennijuju
91a43c477c
When doing sectors update-state
, show a list of existing states if user inputs an invalid one.
2020-09-23 12:34:34 -04:00
Łukasz Magiera
3003789288
worker: Use a real datastore for keeping track of calls
2020-09-23 16:12:15 +02:00
Łukasz Magiera
ce6b92484f
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-23 11:31:21 +02:00
Aayush Rajasekaran
476e7992e8
Add an error return to all actor state interface methods
2020-09-23 01:51:38 -04:00
Steven Allen
2967c4ec10
use abstract actor type methods
2020-09-22 12:02:29 -07:00
whyrusleeping
88ada66280
finish up the total bytes endpoint
2020-09-22 13:31:01 -05:00
whyrusleeping
3cf2fd595f
fix appending to array
2020-09-22 13:27:58 -05:00
whyrusleeping
3153ab9ae3
allow graceful shutdown
2020-09-22 13:24:49 -05:00
Steven Allen
c91774be3b
remove old comment
2020-09-22 11:19:28 -07:00
Travis Person
c66f087f4c
lotus-miner: add more help text to storage / attach
2020-09-22 18:15:42 +00:00
whyrusleeping
f96698b54d
finish up other endpoints
2020-09-22 12:54:39 -05:00
Łukasz Magiera
706f4f2ef5
worker: Don't die with the connection
2020-09-22 18:36:44 +02:00
whyrusleeping
9b91628d85
begin adding simple api server for deal stats
2020-09-22 11:05:12 -05:00
Aayush Rajasekaran
1dc69e397e
Resolve some unnecessary actor upgrade TODOs
2020-09-22 01:34:21 -04:00
Steven Allen
3f0106cfe5
migrate lotus-shed/genesis-verify to actor abstraction
2020-09-21 15:18:30 -07:00
Steven Allen
4bab784e40
migrate lotus-shed verifreg to specs-actors abstractions
2020-09-21 15:04:39 -07:00
Steven Allen
916421b247
convert lotus-shed balances
2020-09-21 13:43:47 -07:00
Łukasz Magiera
aa5bd7bc17
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-21 22:36:16 +02:00
Steven Allen
4cf0c105eb
optimize sector loading
...
And avoid exposing "arrays" via the miner abstraction. We may change these
structures later.
2020-09-21 12:12:08 -07:00
Łukasz Magiera
f7934b083c
Merge remote-tracking branch 'origin/master' into refactor/net-upgrade
2020-09-21 19:10:18 +02:00
Łukasz Magiera
29913f4c41
Merge pull request #3903 from filecoin-project/3605-sector-list-option
...
Add an option to hide sectors in Removed from `sectors list`.
2020-09-21 19:04:11 +02:00
Łukasz Magiera
1096f8acc6
miner: Invert show-removed option in sectors list
2020-09-21 18:59:05 +02:00
Travis Person
b3d0a5fb4a
lotus-shed: add consensus check command
2020-09-20 20:26:20 +00:00
Jerry
c401d2ec4e
fix storage find error
2020-09-19 15:48:02 +08:00
Travis Person
e6bbc03ca8
lotus-pcr: update miner recovery
2020-09-19 02:09:05 +00:00
Travis Person
e39036dd49
lotus-pcr: find miners command
2020-09-18 23:17:04 +00:00
Travis Person
26de0db757
lotus-pcr: add recover-miners command
2020-09-18 23:17:04 +00:00
Steven Allen
1bf3b4989d
rename imports to match actors code
...
`sed -i 's/\bv0\(\w\)\(\w*\)/\L\1\E\20/g' **/*.go`
2020-09-18 14:59:27 -07:00
Steven Allen
c130806c37
compile fix
2020-09-18 14:59:14 -07:00
Steven Allen
f741ce6e30
fixup some more imports
2020-09-18 14:51:18 -07:00
Steven Allen
8285eda8e5
migrate storage miner info
2020-09-18 14:46:42 -07:00
Łukasz Magiera
6050401652
Merge pull request #3925 from filecoin-project/feat/log-shutdown
...
log shutdown method for lotus daemon and miner
2020-09-18 23:15:41 +02:00
Steven Allen
298efa221c
fix lint errors
2020-09-18 13:52:07 -07:00
Steven Allen
fb2b25c297
finish upgrading chainwatch
2020-09-18 13:43:30 -07:00
Łukasz Magiera
7109e95f5e
Merge pull request #3881 from filcloud/issue-3626-SectorState
...
fix SectorState
2020-09-18 21:30:18 +02:00
Aayush Rajasekaran
c3046f487c
Don't use -1 as default sector number
2020-09-18 14:41:03 -04:00
Travis Person
eadc61c37a
log shutdown method for lotus daemon and miner
2020-09-18 18:07:58 +00:00
Łukasz Magiera
70faa36b7f
Merge remote-tracking branch 'origin/master' into refactor/net-upgrade
2020-09-18 19:29:06 +02:00
Aayush Rajasekaran
694463ffbe
More lint fixes
2020-09-18 03:06:28 -04:00
vyzo
3c72461969
MpoolPushUntrusted API for gateway
2020-09-18 09:40:43 +03:00
Steven Allen
b2ee59024f
improve diff logic
...
* Make diffing work across versions.
* Start porting more chainwatch logic.
2020-09-17 21:39:34 -07:00
Travis Person
ac7007d1d0
lotus-shed: add jwt token command
2020-09-18 04:05:03 +00:00
Travis Person
db2a20da6c
lotus-shed: add keyinfo verify
2020-09-18 03:59:00 +00:00
Łukasz Magiera
26bbd9fb9d
wdpost: append is hard
2020-09-18 03:00:31 +02:00
Łukasz Magiera
57c1eac37a
gofmt
2020-09-18 02:40:01 +02:00
Łukasz Magiera
dcc5643473
shed: Even more bitfield utils
2020-09-18 02:38:30 +02:00
Łukasz Magiera
b85b50afbc
shed: bitfield intersect command
2020-09-17 20:37:35 +02:00
jennijuju
14a4acec8c
Add an option to hide sectors in Removed for sectors list
.
2020-09-17 13:19:50 -04:00
Łukasz Magiera
6eda53565f
Most tests passing
2020-09-17 17:30:24 +02:00
Aayush Rajasekaran
31ff5230bb
Get State API almost working
2020-09-17 05:05:32 -04:00
Aayush Rajasekaran
b5ba7a0fad
Miner migration
2020-09-17 02:21:16 -04:00
Frank
d5af25b76c
update init sector state list
2020-09-17 10:38:07 +08:00
hannahhoward
80b6994fe2
feat(market): update state diffing for market actor
...
Update to abstract actor for markets state diffing. Also move the diff adt functions inside the
abstract actors
2020-09-16 19:14:07 -07:00
Ingar Shu
f56602c588
Specify retrieval price in FIL/GiB
2020-09-16 14:30:04 -07:00
Ingar Shu
2aef7f7c07
Clarify help text units
2020-09-16 13:56:46 -07:00
Ingar Shu
665d23cb8e
Add set-ask, get-ask retrieval CLI
2020-09-16 13:56:46 -07:00
Łukasz Magiera
5e09581256
sectorstorage: get new work tracker to run
2020-09-16 22:33:58 +02:00
Frank
ed74091c20
add exist sector state check
2020-09-16 19:49:45 +08:00
Aayush Rajasekaran
72d19f369b
Incremental progress towards using new power state interface
2020-09-16 01:57:18 -04:00
Aayush Rajasekaran
90853e24cf
Add a boolean HasMinPower to return of GetPower
2020-09-16 01:47:24 -04:00
whyrusleeping
6670d22fb5
add command to (slowly) prune lotus chain datastore
2020-09-15 20:20:48 -07:00
jennijuju
5c69249ba3
Use window post
for window PoSt related log messages.
2020-09-15 21:22:29 -04:00
Jakub Sztandera
0c1c19c6ef
Merge pull request #3867 from filecoin-project/feat/lotus-bench-repo-dir
...
allow specification of repo directory in lotus-bench
2020-09-15 23:21:04 +02:00
Steven Allen
c64f983900
migrate StateMinserSectorCount
2020-09-15 12:09:39 -07:00
whyrusleeping
24756ac056
allow specification of repo directory in lotus-bench
2020-09-15 11:55:54 -07:00
Łukasz Magiera
03cf6cca40
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-15 17:47:03 +02:00
Łukasz Magiera
531b7bf92d
Merge pull request #3848 from filecoin-project/feat/state-sector-cli
...
cli: state sector command
2020-09-15 15:30:04 +02:00
Łukasz Magiera
84fa22110f
fix lint
2020-09-15 12:09:43 +02:00
Łukasz Magiera
e22aa74865
Merge pull request #3780 from filecoin-project/feat/lotus-gateway
...
implement initial lotus-gateway program
2020-09-15 12:07:59 +02:00
Łukasz Magiera
285fc69f6a
gateway: address review
2020-09-15 11:50:08 +02:00
Łukasz Magiera
7fd5c81674
cli: state sector command
2020-09-15 01:36:49 +02:00
Steven Allen
cc4d5306eb
Progress
2020-09-14 15:43:12 -07:00
Steven Allen
02dcb5e182
Merge branch 'master' into refactor/net-upgrade
2020-09-14 14:53:57 -07:00
Steven Allen
9804310cc8
Update specs-actors to 0.9.10
...
Moves the Keyer type (and helpers) into go-state-types.
2020-09-14 14:32:57 -07:00
Mike Greenberg
8a21198f56
Merge pull request #3765 from ggq89/master
...
optimize definition of state_heights
2020-09-14 14:19:31 -04:00
Łukasz Magiera
381a6cdfac
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-14 19:11:50 +02:00
Łukasz Magiera
1ebca8f732
more working code
2020-09-14 19:09:01 +02:00
Łukasz Magiera
06ec571c20
Merge remote-tracking branch 'origin/master' into refactor/net-upgrade
2020-09-14 15:09:52 +02:00
Raúl Kripalani
6d29d75724
Merge branch 'master' into inmem-journal
2020-09-14 12:17:45 +01:00
Albert·Gou
747b34c2c8
Update sync.go
2020-09-14 18:00:17 +08:00
Albert·Gou
e45a7749b0
Update sync.go
2020-09-14 16:20:01 +08:00
Albert·Gou
b7ea145f38
Merge remote-tracking branch 'upstream/master' into master
2020-09-14 16:17:10 +08:00
whyrusleeping
3401cb349b
add mpool push and chainHead
2020-09-11 23:07:20 -07:00
Steven Allen
d3594835c4
[WIP] Network upgrade support
...
This patch starts adding support for network upgrades.
* It adds an actors abstraction layer for loading abstract (cross-version) actors.
* It starts switching over to a shared deadline type.
* It adds an abstraction for ADTs (hamt/amt).
* It removes the callback-based API in the StateManager (difficult to abstract
across actor versions).
* It _does not_ actually add support for actors v2. We can do that in a followup
patch but that should be relatively easy.
This patch is heavily WIP and does not compile. Feel free to push changes
directly to this branch.
Notes:
* State tree access now needs a network version, because the HAMT type will change.
* I haven't figured out a nice way to abstract over changes to the _message_
types. However, many of them will be type aliased to actors v0 in actors v2 so
we can likely continue using the v0 versions (or use the v2 versions
everywhere). I've been renaming imports to `v0*` to make it clear that we're
importing types from a _specific_ actors version.
TODO:
* Consider merging incremental improvements? We'd have to get this compiling
again first but we could merge in the new abstractions, and slowly switch over.
* Finish migrating to the new abstractions.
* Remove all actor state types from the public API. See `miner.State.Info()` for
the planned approach here.
* Fix the tests. This is likely going to be a massive pain.
2020-09-11 20:16:29 -07:00
whyrusleeping
8b9a3ea6c3
implement initial lotus-gateway program
2020-09-11 20:01:37 -07:00
Łukasz Magiera
aeb3437a9f
lint, docsgen
2020-09-11 10:55:10 +02:00
Albert·Gou
6e7de3c8d9
optimize definition of state_heights
...
In the same parentstateroot, the one with the smallest height should be selected
2020-09-11 16:52:48 +08:00
whyrusleeping
0e3dd3cb3b
Add faster and slimmer option to chain export via lotus-shed
2020-09-10 17:28:25 -07:00
Steven Allen
7a46c5ff31
[WIP] Fix ticket randomness
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-10 17:41:55 -04:00
Łukasz Magiera
5f08fe7ead
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-10 17:30:54 +02:00
Łukasz Magiera
890e6280df
Merge pull request #3669 from filecoin-project/feat/independent-version-numbers
...
build: Separate API versions per node type
2020-09-10 17:00:32 +02:00
Whyrusleeping
767341b279
Merge pull request #3437 from filecoin-project/feat/mpool-stats-cmd
...
add a simple command to watch messages sitting in the mempool
2020-09-09 18:29:42 -07:00
whyrusleeping
c73916b4e7
fix the linter
2020-09-09 17:37:49 -07:00
whyrusleeping
0361ca1c39
add some bits about windowed post
2020-09-09 17:18:55 -07:00
frrist
f2b238f50a
fix(chainwatch): compare prev miner with cur miner
...
- bug was comparing cur miner with cur miner
2020-09-09 15:30:30 -07:00
whyrusleeping
09194aa613
print better error when losing connection
2020-09-09 15:19:54 -07:00
whyrusleeping
e58327d4ed
rename LE tag to quantile
2020-09-09 15:19:54 -07:00
whyrusleeping
8414aa6e4b
more metrics!
2020-09-09 15:19:54 -07:00
whyrusleeping
7d1d690eb7
lets get some metrics
2020-09-09 15:19:54 -07:00
whyrusleeping
47ad7ccb5f
some more stats
2020-09-09 15:19:54 -07:00
whyrusleeping
679c4183e7
add a simple command to watch messages sitting in the mempool
2020-09-09 15:19:53 -07:00
Łukasz Magiera
38863d3025
build: Separate API versions per node type
2020-09-08 21:14:53 +02:00
whyrusleeping
26ec0716b9
fix lint errors
2020-09-07 16:12:44 -07:00
whyrusleeping
97af576f6a
Implement faucet funds reallocation logic
...
use all committed sectors instead of power
give all miners who had at least a sector on friday a base amount
include genesis miner in redistribution
drop back to 1,000,000
2020-09-07 16:06:13 -07:00
Aayush Rajasekaran
d678fe4bfa
Fix tests
2020-09-07 15:48:42 -04:00
Aayush Rajasekaran
39755a294a
Update to specs v0.9.6
2020-09-07 15:48:41 -04:00
Łukasz Magiera
231a9e4051
Fix sealing sched tests
2020-09-07 17:55:31 +02:00
Łukasz Magiera
9e6f974f3c
storage: Fix build
2020-09-07 16:12:55 +02:00
Łukasz Magiera
5d73943929
storage: Fix import cycle
2020-09-06 18:54:00 +02:00
Łukasz Magiera
70da2b7b4d
Merge pull request #3568 from filecoin-project/feat/lotus-shed-math
...
lotus-shed: add math command
2020-09-05 21:47:06 +02:00
Łukasz Magiera
780f6dba34
Remote wallet backends
2020-09-05 21:39:09 +02:00
Travis Person
bf3466f3cb
lotus-pcr: use current tipset during refund
...
Using the tipset which is being processed might lead to incorrect gas
estimations or balance checking for the wallet.
2020-09-05 02:38:24 +00:00
Travis Person
eebd2efcbf
lotus-shed: add math command
2020-09-05 00:50:56 +00:00
Travis Person
d6691fe9d8
lotus-pcr: add tipset aggregation
2020-09-04 22:28:13 +00:00
Łukasz Magiera
f90cfda2e6
wallet: Add interface layer
2020-09-04 22:18:03 +02:00
Raúl Kripalani
1ec534d607
Merge branch 'master' into inmem-journal
2020-09-04 10:55:40 +01:00
Łukasz Magiera
d81feb05d1
Merge pull request #3527 from filecoin-project/feat/watch-option-miner-storage-deals-list
...
Add watch option to storage-deals list
2020-09-04 04:13:01 +02:00
Mike Greenberg
abaef98fd8
fix(chainwatch): Stop SyncIncomingBlocks from leaking into processing
...
The SQL query was anchoring data from the `blocks` table, which includes
all blocks seen from SyncIncomingBlocks which isn't always available in
the chainstate via the API. In order to prevent these blocks from
leaking into normal processing (which errors anyway), the join was
changed to allow `blocks_synced` to anchor the set as we originally
intended.
2020-09-03 19:15:25 -04:00
Mike Greenberg
ddc5e57d4d
fix(chainwatch): Error instead of panic during processing
2020-09-03 19:15:19 -04:00
Ingar Shu
1608cd2d53
Add watch option to "lotus-miner storage-deals list"
2020-09-03 10:14:30 -07:00
Raúl Kripalani
4554c4bda9
fix lotus-bench stale import.
2020-09-02 19:54:13 +01:00
Raúl Kripalani
3206f92063
Merge branch 'master' into inmem-journal
2020-09-02 19:50:52 +01:00
Jakub Sztandera
59f765f7be
Rename to import-snapshot, require more than finality for state export
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-02 17:15:36 +02:00
Łukasz Magiera
528e39fcb3
docsgen, fix snapshot flag name
2020-09-02 17:15:10 +02:00
whyrusleeping
2b16e69e90
allow snapshot importing
2020-09-02 17:15:10 +02:00
Łukasz Magiera
351313523c
Merge pull request #3470 from filecoin-project/feat/toggle-message-processing
...
lotus-pcr: add toggle for message processing
2020-09-02 14:26:40 +02:00
Aayush Rajasekaran
8417f516e5
Check error in advance-block
2020-09-02 02:41:12 -04:00
Travis Person
9532441ed4
lotus-pcr: add toggle for message processing
2020-09-02 03:50:16 +00:00
Mike Greenberg
2b83089da8
fix(chainwatch): Add important documentation
2020-08-31 22:55:11 -04:00
Mike Greenberg
7290431cb0
fix(chainwatch): Restore IncomingBlockSync listening
2020-08-31 22:46:28 -04:00
Mike Greenberg
95a75daf9f
fix(chainwatch): Remove useless logging
2020-08-31 22:32:34 -04:00
Mike Greenberg
80ed6b8c25
fix(chainwatch): Process chain waitout waiting for update via ChainNotify
2020-08-31 22:31:25 -04:00
whyrusleeping
cac848c106
add a command to import an ipld object into the chainstore
2020-08-31 14:24:23 -07:00
Łukasz Magiera
0e6ff668eb
worker: Cli to attach storage paths
2020-08-30 20:33:02 +02:00
Aayush Rajasekaran
5095e6f07b
Fix chain import
2020-08-28 22:15:43 -04:00
Łukasz Magiera
e86f90fe8d
Merge pull request #3380 from filecoin-project/fix/chainwatch/perf
...
perf(chainwatch): parallelize miner processing
2020-08-29 02:51:46 +02:00
frrist
0185090cbb
perf(chainwatch): parallelize miner processing
2020-08-28 13:26:11 -07:00
Łukasz Magiera
11b11e416b
sectorstorage: Compact assigned windows
2020-08-28 18:26:38 +02:00
Łukasz Magiera
20ffce5c0d
Merge remote-tracking branch 'origin/master' into fix/some-fsm-issues
2020-08-28 16:47:25 +02:00
Łukasz Magiera
932ab61c2d
Merge pull request #3275 from filecoin-project/fix/chainwatch/sync
...
fix(chainwatch): use height to determine unsynced blocks and fix deadlock in sector deal table
2020-08-28 12:16:00 +02:00
Mike Greenberg
ff5ac51c54
fix(chainwatch): Upsert on chain_economics
...
This table may get multiple updates depending on how many blocks get
added into a tipset. Each new block affects the tipset state, but the
parent state root will remain the same. This allows the very latest
value to be applied.
2020-08-27 23:21:20 -04:00
Mike Greenberg
9e130af9e7
feat(chainwatch): Add more complete power and reward metrics
2020-08-27 23:00:12 -04:00
Aayush Rajasekaran
bed7158212
Use beacon entries in advance-block
2020-08-27 21:38:51 -04:00
Łukasz Magiera
59f554b658
sealing sched: Show waiting tasks assigned to workers in sealing jobs cli
2020-08-27 23:14:33 +02:00
frrist
0ad38fe38f
lint
2020-08-27 14:09:03 -07:00
frrist
5c4db23da4
polish(chainwatch): accept lotus api and token
2020-08-27 14:05:39 -07:00
Łukasz Magiera
d8e58e67c6
storagefsm: Treat PackingFailed sectors as expired
2020-08-27 22:41:35 +02:00
frrist
f934ebd429
fix(chainwatch): sync based on height
2020-08-27 11:47:53 -07:00
frrist
fccdd70524
polish(chainwatch): relax scheduler refresh
2020-08-27 11:47:53 -07:00
frrist
5e40dda3bc
fix(chainwatch): fix deadlock in sector deals
2020-08-27 11:47:53 -07:00
frrist
fb8340acb2
polish(chainwatch): clean up logging
2020-08-27 11:47:53 -07:00
Łukasz Magiera
df635579c4
storagefsm: Handle sectors with expired deals better
2020-08-27 13:51:38 +02:00
Łukasz Magiera
788c7dbf48
storagefsm: Separate satte for submitting commit message
2020-08-27 12:57:28 +02:00
Łukasz Magiera
51ca460f18
miner: Fix sorting of some sector states in miner-info
2020-08-27 12:41:12 +02:00
Łukasz Magiera
e236173417
miner: Print (pre)commit message cids in sector status
2020-08-27 12:40:19 +02:00
Raúl Kripalani
cb8e105a94
reduce diff noise.
2020-08-26 16:44:06 +01:00
Raúl Kripalani
efdfd3ee3e
Merge branch 'master' into inmem-journal
2020-08-26 16:38:23 +01:00
Raúl Kripalani
4e1ef09751
make journal a global var.
2020-08-26 16:09:37 +01:00
Whyrusleeping
0009f7c8dc
Merge pull request #3300 from filecoin-project/fix/set-peer-id
...
fix parsing of peerID in input to set-peer-id
2020-08-25 17:26:05 -07:00
Whyrusleeping
cd2e794d3f
Merge pull request #3299 from filecoin-project/steb/update-deps
...
update deps for bug fixes
2020-08-25 17:18:02 -07:00
whyrusleeping
9bb862d025
fix parsing of peerID in input to set-peer-id
2020-08-25 17:10:06 -07:00
Steven Allen
7fb4851eb9
update deps for bug fixes
...
* updates bitswap to include _many_ perf enhancements and bug fixes.
* updates go-fs-lock because the version here is pretty old.
* updates go-libp2p
* updates bbloom _just_ in case, because the version we were depending on had bugs (looks like we're not actually using it).
2020-08-25 17:06:07 -07:00
frrist
0d61e0d717
refactor(ctx): update to latest go-jsonrpc
2020-08-25 15:20:41 -07:00
Steven Allen
f84bbd4520
Fix more lint warnings.
...
This way we can keep CI green.
2020-08-25 12:56:30 -07:00
Travis Person
fb033a3719
lotus-fountain: remove make miner workflow
2020-08-25 05:10:12 +00:00
whyrusleeping
90337995ff
print out genesis cid
2020-08-24 22:48:48 +02:00
whyrusleeping
aa2cad1a66
small usability tweak, fix lint
2020-08-24 22:48:47 +02:00
whyrusleeping
4f6dc0748d
print out genesis block accounts
2020-08-24 22:48:11 +02:00
whyrusleeping
6b8191121c
add lotus-shed command to verify some stuff about the genesis car
2020-08-24 22:48:11 +02:00
Łukasz Magiera
ecc3ff4a5c
Merge pull request #3254 from filecoin-project/fix/chainwatch/independent-processor-subtasks
...
fix(chainwatch): Make processor failures independent of each other
2020-08-24 22:45:02 +02:00
Łukasz Magiera
71a2dc06d7
Merge pull request #3259 from GFZRZK/master
...
Bugfix: fix some typo and correct recoveries datasource
2020-08-24 22:44:36 +02:00
Łukasz Magiera
6a7cb669ac
Merge pull request #3250 from filecoin-project/fix/miner-info-avail
...
miner info: Fix avail calc, print aggregate deal info
2020-08-24 18:10:07 +02:00
WC
119f6ff2e6
Bugfix: fix some typo and correct recoveries datasource
...
Bugfix: fix some typo and correct recoveries data source
2020-08-24 14:56:44 +08:00
Mike Greenberg
80f8f71a96
fix(lint): Cleanup unneeded error returns; go mod tidy
2020-08-23 16:51:12 -04:00
Mike Greenberg
7e0ba4aa32
fix(chainwatch): Reduce default max-batch to 50
2020-08-23 13:01:10 -04:00
Mike Greenberg
da8dbc8ffe
fix(chainwatch): Make processor failures independent of each other
2020-08-23 01:59:15 -04:00
Łukasz Magiera
a236957538
Merge pull request #3232 from filecoin-project/asr/marked-for-upgrade
...
Indicate whether a sector has been marked for upgrade
2020-08-22 21:48:45 +02:00
Łukasz Magiera
12af420d7e
mod tidy
2020-08-22 19:16:45 +02:00
Łukasz Magiera
88016c17e4
miner info: Fix avail calc, print aggregate deal info
2020-08-22 19:15:08 +02:00
Aayush Rajasekaran
984e52acbc
Indicate whether a sector has been marked for upgrade
2020-08-21 15:53:39 -04:00
Steven Allen
5733c71c50
Lint everything
...
We were ignoring quite a few error cases, and had one case where we weren't
actually updating state where we wanted to. Unfortunately, if the linter doesn't
pass, nobody has any reason to actually check lint failures in CI.
There are three remaining XXXs marked in the code for lint.
2020-08-20 20:46:36 -07:00
Whyrusleeping
af3fe206d6
Merge pull request #3122 from filecoin-project/feat/cmd-improvements
...
sorted deal listings
2020-08-20 13:29:01 -07:00
Aayush Rajasekaran
93e566d7e0
Change docs.lotu.sh links to lotu.sh
2020-08-20 12:45:41 -04:00
Łukasz Magiera
364e3229b9
Merge pull request #3178 from filecoin-project/feat/miner-init-from-flag
...
add a from flag for miner init
2020-08-20 17:09:03 +02:00
Łukasz Magiera
0acc461cb1
Merge pull request #3185 from filecoin-project/fix/chainwatch/fix-nil-smoothing-estimate
...
fix(chainwatch): Handle RewardState.EpochSmoothingEstimate == nil
2020-08-20 11:20:58 +02:00
Łukasz Magiera
cd82f79d35
Merge pull request #3191 from filecoin-project/feat/miner-data-transfers
...
Add data transfer list command to miner
2020-08-20 11:18:56 +02:00
hannahhoward
0086f76a90
feat(lotus-miner): add data transfer list cmd
...
add equivalent command to list data transfers on miner side, extract common functionality for reuse
2020-08-20 01:35:48 -07:00
Travis Person
3eeec8d438
lotus-pcr: fix refund math
2020-08-20 08:28:53 +00:00
Mike Greenberg
bf10de82df
fix(chainwatch): Handle RewardState.EpochSmoothingEstimate == nil
2020-08-20 01:55:17 -04:00
whyrusleeping
2675ffb128
add a from flag for miner init
2020-08-19 17:34:58 -07:00
Łukasz Magiera
885f357c59
Merge pull request #3175 from filecoin-project/feat/control-addersses-control
...
Wire up miner control addresses, use for PoSt
2020-08-20 02:24:33 +02:00
Łukasz Magiera
de41f63fa4
miner info: Also print locked pledge
2020-08-20 02:03:42 +02:00
Łukasz Magiera
a4807b18bc
gofmt, api docstring
2020-08-20 01:26:13 +02:00
Łukasz Magiera
5ea61abfe1
Wire up miner control addresses, use for post
2020-08-20 01:17:03 +02:00
Łukasz Magiera
f943ea7d5d
Merge pull request #3170 from filecoin-project/frrist/chainwatch-SectorOnChainInfo-ext
...
refactor(cw): add new values to sector_info table and smoothing estimate
2020-08-19 23:58:22 +02:00
Łukasz Magiera
ed098390cb
Merge pull request #3172 from filecoin-project/feat/lotus-shed-jwt
...
lotus-shed: add simple jwt creation support
2020-08-19 23:32:01 +02:00
frrist
05f1a23c94
feat(chainwatch): power actor smoothing estimate
2020-08-19 13:34:58 -07:00
frrist
fecaeda382
feat(chainwatch): reward actor smoothing estimate
2020-08-19 13:05:07 -07:00
frrist
3df85ca784
refactor(chainwatch): add new values to sector_info table
2020-08-19 13:05:07 -07:00
whyrusleeping
2ab202a03d
fixup ID allocation and a few other things
2020-08-19 12:54:33 -07:00
Travis Person
f1632376e7
lotus-shed: add simple jwt creation support
2020-08-19 19:21:36 +00:00
Łukasz Magiera
e47e51275a
Merge pull request #3138 from filecoin-project/feat/remainder
...
place the remainder of unallocated funds in a 'remainder' account
2020-08-18 23:52:19 +02:00
whyrusleeping
916bebadef
setup proper template defaults
2020-08-18 14:34:35 -07:00
Łukasz Magiera
19be380b53
Merge pull request #3152 from filecoin-project/fix/chainwatch/rpc-peer-id-bug
...
fix(api): Filter malformed peer ID before RPC marshaling
2020-08-18 23:07:55 +02:00
Mike Greenberg
8675ca561d
fix(api): Filter malformed peer ID before RPC marshaling
2020-08-18 16:29:21 -04:00
Łukasz Magiera
3fd4921ea3
Merge pull request #3147 from filecoin-project/feat/fsm-seal-limits
...
fsm: Config for limiting max sealing sectors
2020-08-18 21:54:41 +02:00
Łukasz Magiera
d1cb60bdee
Merge pull request #3118 from filecoin-project/feat/improve-pcr
...
lotus-pcr: refund provecommit sectors
2020-08-18 21:18:45 +02:00
Łukasz Magiera
2570712a29
Merge pull request #3135 from filecoin-project/feat/genesis-block-linkage
...
proper genesis block history
2020-08-18 19:28:55 +02:00
Łukasz Magiera
e7d65be90a
gofmt
2020-08-18 18:27:28 +02:00
Mike Greenberg
fabf26cc21
fix(chainwatch): Actually capture human actor names
2020-08-18 00:22:01 -04:00
Mike Greenberg
94e4f8d116
fix(chainwatch): Ignore blocks missing from local blockstore during processing
2020-08-18 00:22:01 -04:00
Mike Greenberg
6734287789
fix(chainwatch): Change tmp table names to not collide
2020-08-18 00:22:01 -04:00
whyrusleeping
13e5b72cdb
proper genesis block history
...
Commit hash originally stamped into the ethereum blockchain:
https://etherscan.io/tx/0xe8f51c9eefb682cd866f059462577b6dd3d2685ff4b6437f6c940ff4f4aaf067
2020-08-17 21:13:43 -07:00
Aayush Rajasekaran
4ef5a58b36
strip peerid when setting on-chain addrs
2020-08-17 21:18:26 -04:00
Aayush Rajasekaran
01b5118a08
Add a CLI method to set peerid
2020-08-17 20:53:02 -04:00
whyrusleeping
ef8b9eae93
add lotus keygen utility
2020-08-17 17:29:26 -07:00
whyrusleeping
f05cff478f
sorted deal listings
2020-08-17 14:48:49 -07:00
Travis Person
5040623a12
lotus-pcr: refund provecommit sectors
2020-08-17 21:29:59 +00:00
Łukasz Magiera
2e78ed685f
Merge pull request #3113 from filecoin-project/fix/chainwatch/calibration-improvements
...
Chainwatch Improvements
2020-08-17 19:06:05 +02:00
Łukasz Magiera
29db7047a3
Merge pull request #3112 from filecoin-project/fix/sched-hang
...
Fix sealing sched hands on unclean worker disconnect
2020-08-17 18:43:25 +02:00
Łukasz Magiera
6ef7a30b19
Merge pull request #3089 from filecoin-project/integrate/storage-fsm
...
integrate extern/{storage-fsm,sector-storage} into lotus source tree
2020-08-17 18:37:54 +02:00
Mike Greenberg
80fef50b90
feat(chainwatch): Include detailed economic data per epoch
2020-08-17 12:22:34 -04:00
Łukasz Magiera
f31473c4cf
Update jsonrpc to fix sealing sched hangs
2020-08-17 17:36:21 +02:00
Łukasz Magiera
09dbd12638
Merge pull request #3107 from yaohcn/feat/addpiece-configurable
...
make addpiece configurable
2020-08-17 17:35:09 +02:00
Mike Greenberg
b37a39588e
feat(chainwatch): Add full version to help/startup log via build param
2020-08-17 11:31:59 -04:00
Mike Greenberg
0b498d25f6
fix(chainwatch): Actor code are human readable
2020-08-17 11:18:35 -04:00
Raúl Kripalani
862bafc63a
fix lint errors.
2020-08-17 14:39:33 +01:00
Raúl Kripalani
efdc428d5d
keep storage-fsm (renamed to storage-sealing) and sector-storage in extern.
2020-08-17 14:26:18 +01:00
Łukasz Magiera
7595b1d8d4
cli: pprof goroutines command
2020-08-17 11:49:11 +02:00
yaohcn
39bcfab37c
make addpiece configurable
2020-08-17 17:39:50 +08:00
yaohcn
aded4b4199
add missing restart flag
2020-08-17 16:04:50 +08:00
Łukasz Magiera
c5c819afca
Merge pull request #3098 from filecoin-project/feat/config-cmd
...
Add config command that prints the default config file for a storage …
2020-08-17 08:36:51 +02:00
lanzafame
0d3aaabd2c
Add config command that prints the default config file for a storage miner
2020-08-17 13:51:04 +10:00
Raúl Kripalani
3c17cd655e
integrate extern/sector-storage into lotus proper.
2020-08-16 11:09:58 +01:00
Raúl Kripalani
fb0ccc9260
integrate extern/storage-fsm into lotus proper.
2020-08-16 10:42:13 +01:00
vyzo
7f27c80a6a
move sleep into the select
...
as it is it simply slows down the writer if there are many messages
2020-08-15 21:20:02 +03:00
whyrusleeping
8774a7b2dd
add a market balance command, and a verbose mode for storage-deals list
2020-08-14 16:45:40 -07:00
Łukasz Magiera
45476a208e
Merge pull request #3053 from filecoin-project/feat/worker-addpiece2
...
Support AddPiece on workers
2020-08-14 23:50:17 +02:00
Aayush Rajasekaran
0359a458e4
Include more info in StateCirculatingSupply
2020-08-14 16:53:30 -04:00
Łukasz Magiera
0c75dd3865
Support AddPiece on workers
2020-08-14 16:06:53 +02:00
Łukasz Magiera
75eaa1bf5b
Merge remote-tracking branch 'origin/next' into feat/fix-rename-miner-withdraw
2020-08-14 13:40:12 +02:00
frrist
50d4c2e0ac
fix: error checking for actor not found
2020-08-13 14:10:05 -07:00
frrist
55f88b46cf
fix: best attempt at fixing the id_address_map
2020-08-13 11:14:58 -07:00
Łukasz Magiera
7fc15b70ec
Merge pull request #3025 from filecoin-project/feat/retdeals-in-allinfo
...
miner: Add retrieval deal list to miner allinfo
2020-08-13 15:58:12 +02:00
Łukasz Magiera
a366522c8d
Fix lotus-fountain build
2020-08-13 14:04:45 +02:00
Łukasz Magiera
9a39bb4e78
api: Remove unused StatePledgeCollateral
2020-08-13 14:03:59 +02:00
Łukasz Magiera
3b23ab952b
gofmt
2020-08-13 13:44:43 +02:00
Łukasz Magiera
069c39fc12
Add reachability info to miner info all
2020-08-13 13:44:03 +02:00
Łukasz Magiera
066bac0607
miner: Add retrieval deal list to miner allinfo
2020-08-13 10:51:13 +02:00
Łukasz Magiera
02650c7f25
miner: drop rewardsCmd from miner cmd list
2020-08-13 10:25:21 +02:00
Łukasz Magiera
936d861df5
gofmt
2020-08-13 10:20:41 +02:00
Łukasz Magiera
f0d32f2c01
miner: fix/rename miner actor withdraw
2020-08-13 10:20:09 +02:00
frrist
69a472c4ea
bug: fix id_address_map table conflicts on reorg
2020-08-12 16:54:45 -07:00
Łukasz Magiera
e7e068ebb5
Merge pull request #3008 from filecoin-project/fix/lints
...
Fix lint errors an broken tests
2020-08-12 23:28:01 +02:00
Łukasz Magiera
5561d66082
Merge pull request #3002 from keyko-io/feat/verified-price
...
Showing verified price in asks
2020-08-12 23:26:53 +02:00
Steven Allen
3ef3f570fb
Fix lint errors an broken tests
2020-08-12 23:16:44 +02:00
Łukasz Magiera
12f7e2d9bf
Use a struct for send metadata in MpoolPushMessage
2020-08-12 22:17:29 +02:00
Łukasz Magiera
e1a1b325bc
Merge remote-tracking branch 'origin/next' into feat/max-msg-fee-config
2020-08-12 21:55:03 +02:00
Łukasz Magiera
6fe743f3a9
Fix tests
2020-08-12 20:03:07 +02:00
Steven Allen
e18904bff5
[WIP] fix post submission
2020-08-12 10:33:18 -07:00
Steven Allen
9135a5d048
Pass bitfields by-value
...
This ensures we can't end up decoding nil bitfields from clients when not
expecting them.
Part of https://github.com/filecoin-project/specs-actors/issues/895 . Please see
this issue for details and leave any comments there.
2020-08-12 10:32:39 -07:00
Łukasz Magiera
d0147aa50f
Add maxFee param to MpoolPushMessage
2020-08-12 19:06:16 +02:00
Sami Mäkelä
b252715f53
bad merge
2020-08-12 17:40:29 +03:00
Sami Mäkelä
8367e79279
now working
2020-08-12 17:36:07 +03:00
Sami Mäkelä
5169785c91
merge
2020-08-12 14:15:03 +03:00
Sami Mäkelä
ac6e716ebd
merge
2020-08-12 14:12:33 +03:00
Jakub Sztandera
b309e80e41
Wire in Ticket Quality to MpoolSelect
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-11 16:14:27 +02:00
Raúl Kripalani
2ea5abdfb5
wire journal into miner.
2020-08-11 13:48:32 +01:00
Raúl Kripalani
bca516b028
Merge remote-tracking branch 'origin/next' into inmem-journal
2020-08-11 12:42:39 +01:00
Raúl Kripalani
92598237c3
Merge branch 'next' into inmem-journal
2020-08-11 12:41:11 +01:00
Łukasz Magiera
f25611d768
Merge pull request #2974 from filecoin-project/asr/spelling
...
fix spelling
2020-08-11 10:17:26 +02:00
yaohcn
6b0f607f4b
add space check in StorageFindSector
2020-08-11 15:27:03 +08:00
Aayush Rajasekaran
5e54219be9
fix spelling
2020-08-11 01:10:12 -04:00
Mike Greenberg
b2b7f14432
feat(chainwatch): capture circulating fil per tipset metric
2020-08-07 19:39:52 -04:00
Łukasz Magiera
f7273bc4ee
Merge pull request #2904 from filecoin-project/fix/lotus-pcr-bigint
...
lotus-pcr: initialize bigint; send refund to worker
2020-08-07 21:54:59 +02:00
Travis Person
cdc6086308
lotus-pcr: initialize bigint; send refund to worker
2020-08-07 19:25:53 +00:00
Mike Greenberg
4ed968b79c
feat(chainwatch): track message size in bytes
2020-08-07 14:25:35 -04:00
Łukasz Magiera
9898b4504f
Merge pull request #2889 from filecoin-project/feat/lotus-pcr
...
add lotus-pcr command tool
2020-08-07 19:39:31 +02:00
Travis Person
f5f11af73f
lotus-pcr: ignore all actors except miners
2020-08-07 17:20:18 +00:00
Travis Person
2f9cef38a1
add lotus-pcr command tool
...
Lotus PCR will attempt to reimbursement the initial pledge collateral
of the PreCommitSector miner actor method for all miners on the network.
2020-08-07 16:56:30 +00:00
Łukasz Magiera
a939c30256
chainwatch: Record parent_base_fee in blocks
2020-08-07 18:38:19 +02:00
Mike Greenberg
79b701d347
fix(chainwatch): gas columns are snake_cased; fix SQL bugs
2020-08-06 18:28:54 -04:00
Łukasz Magiera
07bf155295
Merge remote-tracking branch 'origin/next' into feat/dyn-base-fee
2020-08-06 23:41:54 +02:00
Jakub Sztandera
ab08858b45
Delete GasPrice from this world
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-06 23:08:42 +02:00
Łukasz Magiera
4f509d9b67
Merge pull request #2813 from filecoin-project/feat/unseal-on-workers
...
workers: Enable unseal support
2020-08-06 22:03:43 +02:00
Łukasz Magiera
e54a87f91b
Merge pull request #2838 from filecoin-project/feat/message-pool-selection
...
New message pool selection logic
2020-08-06 20:19:35 +02:00
Łukasz Magiera
711b626a8b
Merge pull request #2852 from filecoin-project/jeff
...
Jeff
2020-08-06 13:01:14 +02:00
vyzo
6f660f7915
repair references to defunct miner.SelectMessages
2020-08-06 10:46:48 +03:00
Łukasz Magiera
f8b8ecc0c3
Consensus filter
2020-08-06 03:16:39 +02:00
Travis Person
ca53bf9097
lotus-worker: change address flag to listen ( #2848 )
...
* lotus-worker: change address flag to listen
Clarify the flag on the worker process to be the local address and port
the worker will listen on, and not the address of the miner.
* fixup! lotus-worker: change address flag to listen
Co-authored-by: Travis Person <travisperson@users.noreply.github.com>
2020-08-06 02:54:00 +02:00
Łukasz Magiera
ca4e4fa964
Merge pull request #2814 from filecoin-project/feat/secstor-fetch-reserve
...
Update sector-storage with fetch storage reservation
2020-08-05 23:37:30 +02:00
Łukasz Magiera
0073f10b62
Merge pull request #2821 from filecoin-project/feat/miner-allinfo
...
miner: Command to dump all miner info
2020-08-05 20:33:27 +02:00
Łukasz Magiera
2b7732bc2f
Update sector-storage with fetch storage reservation
2020-08-05 20:32:28 +02:00
Ingar Shu
80546d0451
Add "retrieval-deals list" miner CLI
2020-08-05 17:27:15 +02:00
Ingar Shu
9e07b310d1
WIP
2020-08-05 17:27:08 +02:00
Łukasz Magiera
a7acc81490
miner: Command to dump all miner info
2020-08-04 20:57:48 +02:00
Łukasz Magiera
1feec642da
Merge pull request #2815 from filecoin-project/fix/storage-deals-prop-cid
...
Fix proposal CID in `lotus-miner storage-deals list`
2020-08-04 17:41:51 +02:00
hannahhoward
1b38791d94
fix(lotus-miner): output correct proposal CID
...
update storage-deals list command to output the correct proposal CID. previously we were taking the
CID without the client signature, which will not be the same CID
2020-08-04 08:22:47 -07:00
Łukasz Magiera
d8d6f9cb51
Merge pull request #2792 from filecoin-project/feat/sector-deals
...
feat(chainwatch) define relation from dealIDs to sectorID
2020-08-04 14:49:02 +02:00
Łukasz Magiera
de18d5521e
workers: Enable unseal support
2020-08-04 14:32:09 +02:00
Aayush Rajasekaran
d2e203c1ce
Fix import
2020-08-04 00:45:02 -04:00
frrist
023b2ce126
feat: create relation for dealIDs to sectorID
2020-08-03 16:31:24 -07:00
frrist
b672070ba2
fix(chainwatch): miner processing panics on nil bf
2020-08-03 11:03:17 -07:00
Jakub Sztandera
81a65fe1bc
Swich gas-price to 0 in many places
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-01 16:23:13 +02:00
Whyrusleeping
7c32d49ec6
Merge pull request #2712 from filecoin-project/frrist/sector-events
...
refactor(chainwatch): update to work with latest specs-actors miner changes
2020-07-31 13:22:12 -07:00
Łukasz Magiera
3ae55d1da3
Merge pull request #2714 from filecoin-project/feat/user-dealfiter
...
Support external deal decision logic
2020-07-31 21:56:44 +02:00
Aayush Rajasekaran
c33e38eef2
Update markets
2020-07-31 15:43:34 -04:00
Łukasz Magiera
f993ff1ab8
make lotus-miner storage-deals list less bad
2020-07-31 20:56:47 +02:00
ldoublewood
40b7783c77
fix missing flag for restarting worker
2020-07-31 15:30:41 +02:00
whyrusleeping
0e78db3b8c
print out selected messages in mpool shed cmd
2020-07-31 01:50:25 -04:00
whyrusleeping
146e59fe56
wire through new retrieval apis
2020-07-31 01:47:37 -04:00
whyrusleeping
7fa4cd33f0
WIP: retrieval pieces inspection command
2020-07-31 01:33:30 -04:00
frrist
bc0408b962
refactor: add sector events back and miner info
2020-07-30 14:52:38 -07:00
Łukasz Magiera
a68d6239dc
Merge pull request #2674 from filecoin-project/asr/multiaddrs
...
Include listen addresses in CLI miner info
2020-07-30 03:52:36 +02:00
Frrist
8b98fe1bf4
refresh top miners every 30 seconds ( #2673 )
2020-07-29 16:34:34 -07:00
Aayush Rajasekaran
cadf52bb0a
Include listen addresses in CLI miner info
2020-07-29 16:34:01 -04:00
Jakub Sztandera
9ec11e2f8f
Set default set-addrs gas limit to 0
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-29 10:04:06 +02:00
Aayush Rajasekaran
5df0ee7935
Merge pull request #2647 from filecoin-project/feat/better-seal-duration-ui
...
Feat/better seal duration ui
2020-07-28 21:32:54 -04:00
Aayush Rajasekaran
e1288e79c9
Merge pull request #2648 from filecoin-project/feat/faucet-rate-limits
...
faucet: adjust rate limits
2020-07-28 21:25:22 -04:00
Travis Person
1131026be9
faucet: adjust rate limits
2020-07-29 01:23:31 +00:00
Aayush Rajasekaran
5e485a085a
Merge pull request #2637 from filecoin-project/gas/tag-verify-post
...
Use scaling VerifyPost cost
2020-07-28 21:22:23 -04:00
Aayush Rajasekaran
b51e2a868b
Merge branch 'next' into feat/cid-builder
2020-07-28 21:02:30 -04:00
whyrusleeping
dd8c88b418
improve some seal duration things
2020-07-28 17:40:42 -07:00
Łukasz Magiera
c3ff29cd7f
Merge pull request #2560 from filecoin-project/feat/state-root-stat
...
add command to print state size statistics of actors
2020-07-29 01:08:56 +02:00
Jakub Sztandera
b488012d5f
Add warn
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-28 22:31:43 +02:00
Jakub Sztandera
da4bc44032
Discard initial very long OnVerifyPost from analisys
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-28 22:31:43 +02:00
Łukasz Magiera
3d71d529d2
Merge branch 'next' into feat/cid-builder
2020-07-28 16:37:58 +02:00
Łukasz Magiera
2cbe8fd707
gofmt
2020-07-28 16:37:29 +02:00
Łukasz Magiera
09b90773d8
Merge remote-tracking branch 'origin/next' into feat/cid-builder
2020-07-28 16:06:06 +02:00
Łukasz Magiera
8c95821e9c
Merge branch 'keyko-io-feat/genesis-rootkey' into next
2020-07-28 15:40:44 +02:00
Łukasz Magiera
f93bedee71
Merge pull request #2609 from filecoin-project/feat/nicer-miner-proving-deadlines
...
Better miner proving deadlines
2020-07-28 15:36:50 +02:00
Jose Pablo Fernandez
834ce171d3
Merge branch 'next' into feat/genesis-rootkey
2020-07-28 11:53:00 +02:00
frrist
ba7eaf3cc7
fix: reward actor processes null round states
2020-07-27 17:04:38 -07:00
Łukasz Magiera
0adfd68fae
Better miner proving deadlines
2020-07-27 18:15:47 +02:00
Łukasz Magiera
d557c407c6
Merge pull request #2608 from filecoin-project/feat/storage-remote-improvements
...
Update sector-storage, sealing sched-diag
2020-07-27 15:17:38 +02:00
刘林欣
26998fca32
add on-chain-info to lotus-miner sectors status command
2020-07-27 13:58:59 +02:00
Łukasz Magiera
e60adb01fa
Merge pull request #2407 from filecoin-project/add-actor-flag
...
fix --actor flag for `lotus-storage-miner info`
2020-07-27 13:54:18 +02:00
Łukasz Magiera
135b77dab5
Update sector-storage, sealing sched-diag
2020-07-27 13:23:43 +02:00
Łukasz Magiera
8227b7d16f
Merge pull request #2573 from filecoin-project/feat/storage-remote-improvements
...
Update sector-storage, parallel fetch limit
2020-07-25 23:36:22 +02:00
Łukasz Magiera
053fb3ac19
Merge pull request #2586 from filecoin-project/asr/pledge-cc
...
Add CLI command to calculate pledge collateral of a CC sector
2020-07-25 10:04:05 +02:00
Łukasz Magiera
fc28098292
Merge pull request #2584 from filecoin-project/fix/chainwatch/top-miners-by-reward-applies-wincount
...
Top Miner by Reward applies WinCount; Add max_height view
2020-07-25 10:02:39 +02:00
ognots
de1574d21f
add port to default address flag
...
port is required and things will break otherwise
2020-07-24 22:46:29 -04:00
Aayush Rajasekaran
6cf2fe50dc
Add CLI command to calculate pledge collateral of a CC sector
2020-07-24 19:32:48 -04:00
Mike Greenberg
c6e0a69bbc
fix(chainwatch): Consider win_count in top_miner_by_base_reward view
2020-07-24 18:07:21 -04:00
Mike Greenberg
718dd26043
fix(chainwatch): Move scheduler-specific schema; Add max_height view
2020-07-24 18:07:12 -04:00
Łukasz Magiera
958cc8b947
Update sector-storage, parallel fetch limit
2020-07-24 22:11:11 +02:00
Sami Mäkelä
15481e63dd
merge
2020-07-24 12:34:48 +03:00
Sami Mäkelä
d90fac6e09
tests are working now
2020-07-24 12:22:50 +03:00
Steven Allen
b7a4dbb07f
Support inline CIDs
...
And use the new CidBuilder from the spec actors.
This patch does not switch over to inline CIDs by default, but paves the way.
2020-07-23 23:12:32 -07:00
whyrusleeping
e85dfc7499
add command to print state size statistics of actors
2020-07-23 15:32:28 -07:00
ognots
ebe197b0a8
extract and assign routable assign earlier on and add timeout
...
unspecified address should be calculated before use.
add a new timeout flag and add a timeout to TCP dial
2020-07-23 22:00:25 +02:00
ognots
6fda21d717
make address flag optional
...
use unspecified address as default value.
this will extract a routable IP to listen on and advertise
2020-07-23 22:00:25 +02:00
ognots
36472802f7
support unspecified addresses for worker
...
allow operators to set an unspecified address - 0.0.0.0 - when setting address flag in 'lotus-worker run'
to extract worker ip, dial the miner api.
if the dial succeeds, a valid route between miner and worker can be inferred
2020-07-23 22:00:25 +02:00
Łukasz Magiera
694286b30d
Merge pull request #2556 from filecoin-project/chore/format_cid_correctly_in_sectors_status
...
Do not double-encode base32 CIDs as hex
2020-07-23 21:57:45 +02:00
Łukasz Magiera
69cb7f6b03
Merge pull request #2555 from filecoin-project/feat/helptext-helpers
...
sprinkle some nice helptext returns around
2020-07-23 21:42:26 +02:00
Peter Rabbitson
c18aba39df
Do not double-encode base32 CIDs as hex
2020-07-23 21:42:13 +02:00
whyrusleeping
fcef3696bc
sprinkle some nice helptext returns around
2020-07-23 12:31:28 -07:00
Łukasz Magiera
a4d85a88fe
Merge pull request #2551 from filecoin-project/feat/helptext-helpers
...
add a helper to make printing helptext on errors easier
2020-07-23 21:26:01 +02:00
whyrusleeping
f47fea3751
add a helper to make printing helptext on errors easier
2020-07-23 11:41:53 -07:00
Steven Allen
5fc83f4d05
Refactor to use actor adt types instead of directly using HAMTs and AMTs
...
This way there's a single source of truth. Preparation for fixing
https://github.com/filecoin-project/specs-actors/issues/517 (requires changing
HAMT parameters).
2020-07-23 09:34:57 -07:00
Sami Mäkelä
556408a6f2
add a default verifreg rootkey
2020-07-23 18:07:57 +03:00
Frank
c38b8b1265
close file
2020-07-23 18:21:13 +08:00
Łukasz Magiera
78f7a96300
Merge pull request #2538 from filecoin-project/fix/chainwatch-id-table-reorgs
...
fix: handle reorgs for id mapping table
2020-07-23 10:18:39 +02:00
Mike Greenberg
6adfc78043
feat(chainwatch): Ticker triggers view refresh independent of processing
2020-07-22 22:45:59 -04:00
frrist
5a26dba8e5
fix: handle reorgs for id mapping table
2020-07-22 16:47:47 -07:00
Łukasz Magiera
d962f98a5b
Merge pull request #2507 from filecoin-project/feat/miner-sealing-jobs
...
miner: sealing jobs command
2020-07-23 00:47:59 +02:00
Travis Person
89c9938013
chainwatch: add http server for pprof
2020-07-22 19:54:52 +00:00
whyrusleeping
c4462ab63e
add some useful tools
2020-07-22 10:14:45 -07:00
Łukasz Magiera
2633bdd838
miner: sealing jobs command
2020-07-21 20:08:03 +02:00
Łukasz Magiera
ff3236ef36
miner: Group CLI commands
2020-07-21 19:19:47 +02:00
Raúl Kripalani
b8475114ba
Merge branch 'next' into inmem-journal
2020-07-21 17:42:51 +01:00
frrist
08006bce3d
fix: use bigint for gas_used in message receipt
...
- prevents overflows
2020-07-21 08:49:27 -07:00
Łukasz Magiera
aba6eaf532
Merge pull request #2489 from filecoin-project/fix/chainwatch/restore-block-reward
...
Restore base block reward; capture WinCount w header
2020-07-21 01:21:00 +02:00
Mike Greenberg
cf917fc426
fix(chainwatch): Restore base block reward metric capture
2020-07-20 17:31:27 -04:00
Jakub Sztandera
e6b3ba0178
Slow down pledgeSectors test
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-20 21:31:06 +02:00
Jakub Sztandera
7da629d03b
Update gas prices
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-20 21:31:05 +02:00
Raúl Kripalani
4d2d8b2d11
Merge branch 'next' into inmem-journal
2020-07-20 10:38:58 +01:00
Łukasz Magiera
0c8b451a00
fix miner info
2020-07-18 14:54:21 +02:00
Łukasz Magiera
1a1bd38495
Merge remote-tracking branch 'origin/master' into next
2020-07-18 00:43:08 +02:00
Łukasz Magiera
a06e685cfc
Merge pull request #2450 from filecoin-project/feat/seed-msig-work
...
Feat/seed msig work
2020-07-18 00:21:45 +02:00
whyrusleeping
665b873c96
more permissive parsing, also don't set useless actor addr
2020-07-17 14:27:56 -07:00
Łukasz Magiera
ee6269756c
Merge pull request #2429 from filecoin-project/frrist/chainwatch-miner-precommit
...
feat: track miner precommit
2020-07-17 22:51:42 +02:00
frrist
7ff468ce85
feat: track miner precommit
...
- add materalized view showing all miner sector info
2020-07-17 12:25:54 -07:00
Mike Greenberg
7e46fc1d8f
fix: Comment out affected Actor interactions from API shift
2020-07-17 15:19:05 -04:00
Mike Greenberg
d30e120608
Merge branch 'master' into fix/master-merge
...
* master:
fix(chainwatch): Parallel reward persistence; Tighten rpc logging
fix(chainwatch): Remove --front switch
feat(chainwatch): Add miner index on top_miners_by_base_reward view
fix(chainwatch): Backoff processor when no work exists to process
fix(log): Move metrics and stage updates to debug; Add --log-level switch
fix(chainwatch): Correct index name on state_height view
feat(chainwatch): Capture base_block_reward per epoch; Top miner by reward view
SwapSigner API methods
refactor: remove unused code
refactor: wire up new processor and syncer
refactor: implement processor and syncer
Conflicts:
Makefile
cmd/lotus-chainwatch/storage.go
cmd/lotus-chainwatch/sync.go
2020-07-17 15:18:33 -04:00
Anton Evangelatov
ef8ab20a31
fix --actor flag for lotus-storage-miner info
2020-07-17 20:20:31 +02:00
Raúl Kripalani
becbff0b13
add NilJournal; fix call sites to ChainStore constructor.
2020-07-17 19:10:47 +01:00
Łukasz Magiera
56d13534b4
ProvingSet -> ActiveSectors
2020-07-17 16:26:48 +02:00
Łukasz Magiera
bbc2657023
Fix StateMinerProvingSet
2020-07-17 16:21:00 +02:00
Raúl Kripalani
695f6cfe45
wip in-memory journal.
2020-07-17 14:34:42 +01:00
Łukasz Magiera
06acda0ab9
mod tidy, gofmt
2020-07-17 15:18:40 +02:00
Łukasz Magiera
cb6767a02b
Merge remote-tracking branch 'origin/next' into feat/actors-miner-refactor
2020-07-17 15:18:11 +02:00
Mike Greenberg
18d1ab0cb9
fix(chainwatch): Parallel reward persistence; Tighten rpc logging
2020-07-16 22:58:27 -04:00
whyrusleeping
fe4a8dc183
finish integration of multisig genesis accounts
2020-07-16 19:50:13 -07:00
Sami Mäkelä
f1b8e1a7b0
skip empty addresses
2020-07-16 15:31:00 -07:00
Sami Mäkelä
6a403df100
csv reader
2020-07-16 15:31:00 -07:00
whyrusleeping
fb34d2b9e3
WIP: parse msig accounts file and include it into the genesis template
2020-07-16 15:30:59 -07:00
Mike Greenberg
6e7f21de03
fix(chainwatch): Remove --front switch
2020-07-16 12:14:41 -04:00
Mike Greenberg
c3cc2eea46
feat(chainwatch): Add miner index on top_miners_by_base_reward view
2020-07-16 11:36:52 -04:00
Mike Greenberg
7bfcff2c18
fix(chainwatch): Backoff processor when no work exists to process
2020-07-16 11:36:52 -04:00
Mike Greenberg
f2f797f088
fix(log): Move metrics and stage updates to debug; Add --log-level switch
2020-07-16 11:36:52 -04:00
Mike Greenberg
033cfa8f47
fix(chainwatch): Correct index name on state_height view
2020-07-16 11:36:52 -04:00
Mike Greenberg
0cfddae711
feat(chainwatch): Capture base_block_reward per epoch; Top miner by reward view
2020-07-16 11:36:52 -04:00
Aayush Rajasekaran
a5ef629cef
Add expected seal duration to custom deal logic, reject deals that start too early
2020-07-15 17:31:50 -04:00
Jakub Sztandera
610ed0dc13
Change OnIpldGet
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-15 21:40:49 +02:00
frrist
b4c9ba0a8b
refactor: remove unused code
2020-07-15 11:43:04 -07:00
frrist
9a53bf8f83
refactor: wire up new processor and syncer
2020-07-15 11:42:19 -07:00
frrist
41f4f1fd83
refactor: implement processor and syncer
...
- When chainwatch is ran it will first start a Syncer that continuously collects blocks from the
ChainNotify channel and persists them to the blocks_synced table. Once the Syncer has caught the
blocks_synced table up to the lotus daemons current head a Processor is started. The Processor
selects a batch of contiguous blocks and extracts and stores their data. It attempts to do as much
work as it can in parallel. When the blocks are done being processed their corresponding
processed_at and is_processed fields in the blocks_synced table are filled out.
2020-07-15 11:42:19 -07:00
Jakub Sztandera
7b14d445b4
Update message gas limits
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-15 20:01:57 +02:00
Jakub Sztandera
c0eb4b39ac
Reorg some gas charges
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-15 20:01:56 +02:00
Łukasz Magiera
c1233291bc
Merge remote-tracking branch 'origin/master' into next
2020-07-15 19:47:27 +02:00
Łukasz Magiera
0f2043d874
Merge pull request #2317 from filcloud/issue-2304
...
fix issue 2304: ux improvements
2020-07-15 19:38:35 +02:00
Łukasz Magiera
bbfa66636d
More test fixing
2020-07-14 22:30:25 +02:00
Łukasz Magiera
59e5144122
fix storage-miner cli
2020-07-14 22:14:37 +02:00
Raúl Kripalani
0484496d92
Merge branch 'next' into mock-clock
2020-07-14 18:08:26 +01:00
Łukasz Magiera
faebc4c948
WIP Integrating specs-actors with refactored miner state
2020-07-14 13:45:45 +02:00
Raúl Kripalani
973dbd6a13
Merge branch 'next' into mock-clock
2020-07-13 11:29:53 +01:00
Travis Person
f18bef867e
lotus_fountain: add facuet distribution amount flag
2020-07-12 21:03:05 +00:00
frrist
c9cb39d5a0
polish: update deal proposal table if slashed
2020-07-12 11:39:58 -07:00
Frank
14ec9a2068
update storage miner and seal worker document
2020-07-11 16:55:13 +08:00
frrist
f9d8b051f4
polish: track tipset height for processing
2020-07-10 15:01:55 -07:00
frrist
1e2e62bad6
polish: track unpadded piece size in deal prop
2020-07-10 15:01:55 -07:00
frrist
e13a251cc8
feat: add deal state and proposal tracking to cw
2020-07-10 15:01:55 -07:00
Łukasz Magiera
8ce35e30dd
Merge remote-tracking branch 'origin/master' into next
2020-07-10 21:50:38 +02:00
Łukasz Magiera
69125f15f9
Merge pull request #2329 from filecoin-project/feat/chainwatch/capture-power
...
chainwatch: Capture power from miner and reward actors
2020-07-10 21:25:46 +02:00
Mike Greenberg
ebd0e93a99
chainwatch: app exit with non-zero on error
2020-07-10 11:58:41 -04:00
Mike Greenberg
3332290626
fix: Logic bug; Schema column update stateroot -> state_root
2020-07-10 11:54:11 -04:00
Raúl Kripalani
13de81b3b2
introduce the ability to mock time.
2020-07-10 15:51:45 +01:00
Łukasz Magiera
b245fd0b7d
Merge pull request #2232 from filecoin-project/feat/verifreg-bitwidth
...
set proper bitwidth for verifreg command hamts
2020-07-10 16:19:45 +02:00
Łukasz Magiera
65648e6469
Fix seal-worker init
2020-07-10 16:13:35 +02:00
Frank
5dfb8c9474
add deprecation support
2020-07-10 20:18:09 +08:00
Sami Mäkelä
0784e57082
handling verified price here
2020-07-09 13:36:22 +03:00
Aayush Rajasekaran
57a1418ff8
Correct initial setup of sector id counter
2020-07-09 01:05:27 -04:00
Frank
ce0f9922ee
Update lotus-seal-worker to lotus-worker
2020-07-09 11:04:45 +08:00