Łukasz Magiera
f9ef83b4bf
wdpost: Test sector/partition faulting
2020-07-23 19:23:21 +02:00
Jakub Sztandera
7ae69c70fb
Cleanup DrandBootstrap
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-23 18:45:08 +02:00
Jakub Sztandera
ff5ff4d294
Add multiple drand configs
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-23 18:45:08 +02: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
Frank
c38b8b1265
close file
2020-07-23 18:21:13 +08:00
Łukasz Magiera
264a6cc02d
Merge pull request #2540 from filecoin-project/asr/wallet
...
Wallet balance should display 0 if address can't be resolved
2020-07-23 10:16:10 +02:00
Aayush Rajasekaran
14572aa817
Wallet balance should display 0 if address can't be resolved
2020-07-22 21:51:58 -04:00
Hannah Howard
7b00bb1ffe
Merge pull request #2448 from filecoin-project/feat/payment-channel-settler
...
Submit vouchers automatically when payment channels settle
2020-07-22 18:03:48 -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
Jakub Sztandera
dc35f2f40c
Use MpoolPushMessage
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-22 20:02:29 +02:00
Dirk McCormick
46b7546d51
fix: zero out gas limit
2020-07-22 13:55:31 -04:00
Łukasz Magiera
d70edbcb7c
Set things on syscallShim
2020-07-22 13:35:10 -04:00
hannahhoward
8141fecaa9
feat(paych): add simple integration test
2020-07-22 13:35:10 -04:00
hannahhoward
98535d5e06
feat(settler): monitor settled channels
...
Add a routine to monitor the chain for payment channels settling, and if it's a channel that we are
the recipient of payments on, submit any outstanding vouchers to the
chain
2020-07-22 13:34:35 -04:00
Jakub Sztandera
629e03f303
Apply sequence of messages
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-22 18:16:07 +02:00
whyrusleeping
fda0651bb5
a few improvements and fixes for the retrieval CLI
2020-07-21 16:43:57 -07:00
Łukasz Magiera
2633bdd838
miner: sealing jobs command
2020-07-21 20:08:03 +02:00
whyrusleeping
42a7cb1248
fix a few multisig cli issues
2020-07-20 17:17:53 -07:00
Jakub Sztandera
71ce8845d5
Fix nil big int
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-20 21:50:03 +02:00
Jakub Sztandera
a5334eb2b3
Fix lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-20 21:41:05 +02: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
Jakub Sztandera
310fa67f9d
Add gas estimation
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-20 19:48:30 +02:00
Łukasz Magiera
c4ded2fc07
Merge pull request #2469 from filecoin-project/fix/miner-info
...
fix miner info
2020-07-18 21:23:10 +02:00
Łukasz Magiera
0c8b451a00
fix miner info
2020-07-18 14:54:21 +02:00
Łukasz Magiera
780a892eb4
fix StateMinerInitialPledgeCollateral
2020-07-18 12:31:32 +02:00
Łukasz Magiera
d266c665b0
Update sector-storage with windowed scheduler
2020-07-18 00:38:02 +02:00
Łukasz Magiera
e02b40f04f
Merge pull request #2460 from filecoin-project/feat/specs-actors-v0.8ish
...
Feat/specs actors v0.8ish
2020-07-18 00:36:13 +02:00
Łukasz Magiera
956f4d5e14
update specs-actors more
2020-07-17 22:58:04 +02:00
Jakub Sztandera
0f5e56289e
Update stores list when deleting
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-17 22:44:16 +02:00
Jakub Sztandera
f2ebeaa7e4
Fix lint
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-17 22:29:39 +02:00
Jakub Sztandera
cc1d23a94c
Use single multi ds
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-17 22:14:37 +02: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
Ł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
Łukasz Magiera
cb6767a02b
Merge remote-tracking branch 'origin/next' into feat/actors-miner-refactor
2020-07-17 15:18:11 +02:00
Peter Rabbitson
e266f3b955
Bump fil-commcid and filecoin-ffi deps
...
Propagates correct on-chain commX CIDs
2020-07-17 00:38:42 +02:00
Łukasz Magiera
bdc8f7a2cb
Api getting correct sector expiration info
2020-07-16 17:24:41 +02:00
Aayush Rajasekaran
605560a981
SwapSigner API methods
2020-07-15 21:54:18 -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
Łukasz Magiera
9b6afd82aa
Merge pull request #2422 from filecoin-project/feat/upgrade-retrieval
...
Update markets with new retrieval
2020-07-15 23:10:20 +02:00
hannahhoward
61f120222f
feat(markets): update markets with new retrieval
2020-07-15 14:04:31 -07:00
Jakub Sztandera
399c171f03
Update gas limits, update storage-fsm
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-15 21:21:53 +02:00
Jakub Sztandera
7b14d445b4
Update message gas limits
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-15 20:01:57 +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
d41a07161d
paychmgr: handle voucher.ChannelAddr
2020-07-15 11:12:03 +02:00
Łukasz Magiera
fc13794f5f
Update StateMinerProvingDeadline
2020-07-15 11:06:14 +02:00
Łukasz Magiera
0ccc9f65a6
gofmt
2020-07-14 19:10:37 +02:00
Łukasz Magiera
af87b9aa98
Fix widowed PoSt scheduler
2020-07-14 19:10:31 +02:00
Raúl Kripalani
0484496d92
Merge branch 'next' into mock-clock
2020-07-14 18:08:26 +01:00
Łukasz Magiera
f53bd6bdba
StateSectorPartition api
2020-07-14 14:32:17 +02:00
Łukasz Magiera
faebc4c948
WIP Integrating specs-actors with refactored miner state
2020-07-14 13:45:45 +02:00
Sami Mäkelä
d388566d5c
fixing
2020-07-14 12:54:18 +03:00
Łukasz Magiera
2e4ed57363
Merge remote-tracking branch 'origin/master' into next
2020-07-13 13:34:56 +02:00
Raúl Kripalani
973dbd6a13
Merge branch 'next' into mock-clock
2020-07-13 11:29:53 +01:00
Aayush Rajasekaran
69626272d5
Update with reward state changes
2020-07-12 00:30:42 -04:00
Aayush Rajasekaran
858513559b
API improvements
2020-07-11 23:54:58 -04:00
Aayush Rajasekaran
12b63d59b2
Include unlock duration as a param for multisig creation
2020-07-11 23:54:58 -04:00
Frank
14ec9a2068
update storage miner and seal worker document
2020-07-11 16:55:13 +08:00
Łukasz Magiera
ede57c0b12
Fix retrieval datastore-key-not-found error
2020-07-10 18:33:26 +02:00
Raúl Kripalani
13de81b3b2
introduce the ability to mock time.
2020-07-10 15:51:45 +01:00
Ingar Shu
4aa30c1a51
Plumb piece cid in miner-specific query functions
2020-07-09 13:14:24 -07:00
Ingar Shu
171ce39e8c
Add piece cid to retrieval queries
2020-07-09 13:03:17 -07:00
Łukasz Magiera
cc09c5b6d9
client: Don't use filestore for local improts
2020-07-08 23:13:14 +02:00
Łukasz Magiera
5a117d8edf
gofmt
2020-07-08 23:05:54 +02:00
Łukasz Magiera
802f16c542
client: Reenable nocopy on import
2020-07-08 23:05:43 +02:00
Łukasz Magiera
66237415c5
Merge remote-tracking branch 'origin/next' into feat/client-multi-bstore
2020-07-08 22:48:47 +02:00
Łukasz Magiera
5ca1be567d
Merge pull request #2323 from filecoin-project/feat/fastretrieval
...
Support fast-retrieval deals
2020-07-08 21:54:46 +02:00
Łukasz Magiera
2c00b92325
Merge remote-tracking branch 'origin/master' into next
2020-07-08 21:47:05 +02:00
Łukasz Magiera
56bf503210
Merge pull request #2303 from filecoin-project/asr/cli
...
correct error message
2020-07-08 21:18:34 +02:00
Jakub Sztandera
d3d4612575
Re-eanble compact on close
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-08 20:59:46 +02:00
Łukasz Magiera
99796220f9
Support fast-retrieval deals
2020-07-08 20:42:07 +02:00
Jakub Sztandera
40286e4192
Use mostly defaults for badger options
...
This options are the defults in badger `master` now.
We should update to next badger version as soon as it is stable, it has
some nice improvments.
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-08 17:54:33 +02:00
Łukasz Magiera
8e0d33a1fd
Updates for sectors-storge next
2020-07-08 17:23:27 +02:00
Łukasz Magiera
2b9c05d395
Merge remote-tracking branch 'origin/next' into feat/upgrade-markets-0.4.0
2020-07-08 15:53:55 +02:00
Łukasz Magiera
b049c5a7d1
Merge remote-tracking branch 'origin/master' into next
2020-07-08 14:35:40 +02:00
Łukasz Magiera
ba0f7d703e
Set lower polling interval for deal client
2020-07-08 12:52:37 +02:00
hannahhoward
24e3a4218b
feat(markets): upgrade to latest
...
upgrade to latest markets with fast retrieval, underlying data transfer upgrade
2020-07-08 01:35:50 -07:00
Hannah Howard
fe73c9fb71
Merge pull request #2240 from filecoin-project/feat/api-verif-cap
...
StateAPI for Verified Data Cap
2020-07-08 01:02:18 -07:00
Aayush Rajasekaran
8645839974
correct error message
2020-07-07 18:29:45 -04:00
Aayush Rajasekaran
411c82ae8f
Update storage-FSM, add API to set sector seal delay
2020-07-07 15:23:23 -04:00
Dirk McCormick
1ea11a748d
fix: go fmt
2020-07-07 10:01:08 -04:00
Dirk McCormick
c86e864d55
fix: use nil return from StateVerifiedClientStatus for not-found
2020-07-07 09:59:14 -04:00
Łukasz Magiera
55f089d997
client: Unbreak retrieval
2020-07-07 14:35:02 +02:00
Łukasz Magiera
d370e0ae2d
Go is hard
2020-07-07 13:48:13 +02:00
Łukasz Magiera
18fc3337ff
client: API/Command to drop imports
2020-07-07 13:45:02 +02:00
Łukasz Magiera
7175b1dd65
gofmt
2020-07-07 11:38:22 +02:00
Łukasz Magiera
24ed43d541
client: Fix import labeling
2020-07-07 11:38:09 +02:00
Łukasz Magiera
f59eb94d92
client: Set correct dag builder params
2020-07-07 11:14:13 +02:00
Łukasz Magiera
47f0898ce9
Wire up client import manager
2020-07-07 10:52:19 +02:00
Łukasz Magiera
8942967223
Client Import manager
2020-07-07 10:52:04 +02:00
Łukasz Magiera
92e4507cf7
fsrepo: multi-datastores
2020-07-06 23:03:04 +02:00
Łukasz Magiera
40113933b4
gofmt
2020-07-06 22:47:39 +02:00
whyrusleeping
42bd4eccbe
implement a persistent journal for lotus node operations
2020-07-06 09:42:00 -07:00
Łukasz Magiera
4b0ae7ef9a
Merge remote-tracking branch 'origin/master' into next
2020-07-06 11:38:19 +02:00
Łukasz Magiera
516e31d37c
Merge pull request #2254 from filecoin-project/feat/decoded-return-values
...
provide decoded return values in output of StateWaitMsg
2020-07-06 11:24:12 +02:00
Yusef Napora
ea5dc461a1
pass error into waitFunc callback
2020-07-03 17:15:43 -04:00
whyrusleeping
16e493a67a
provide decoded return values in output of StateWaitMsg
2020-07-03 09:57:58 -07:00
Łukasz Magiera
655d6f6720
Merge remote-tracking branch 'origin/master' into next
2020-07-03 17:03:09 +02:00
Jakub Sztandera
9936439608
Merge remote-tracking branch 'origin/master' into next
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-03 14:56:06 +02:00
Łukasz Magiera
bb3758f648
seed: Support fake preseals
2020-07-03 03:29:21 +02:00
Dirk McCormick
8489fb258a
fix: return NotFoundErr from StateVerifiedClientStatus() if addr not found
2020-07-02 14:49:08 -04:00
Dirk McCormick
2c7aa318c1
feat: state API for verified client data cap
2020-07-02 12:10:11 -04:00
whyrusleeping
ffd012906c
add peer ID to hello protocol failure log
2020-07-01 16:20:05 -07:00
Łukasz Magiera
82e2cd4746
Basic CC Upgrade support
2020-07-01 17:01:06 +02:00
Dirk McCormick
5c63581bd5
feat: add fast-retrieval flag to lotus client deal
2020-07-01 12:27:55 +02:00
Dirk McCormick
46f07faead
feat: add verified-deal flag to lotus client deal
2020-07-01 12:23:40 +02:00
hannahhoward
be29f3bd99
feat(markets): update to markets v0.3.2
...
Update to markets v0.3.2, which neccesitates merging master & adding one more node function
2020-07-01 12:06:29 +02:00
Łukasz Magiera
cfdbc2312d
Merge branch 'master' into next
2020-07-01 11:22:57 +02:00
Łukasz Magiera
8f0e04027e
Merge pull request #2154 from laser/feat/1920-selection-commands
...
implement toggling of online/offline storage/retrieval deals
2020-07-01 11:06:32 +02:00
Łukasz Magiera
abdafc8ee4
Merge pull request #2140 from filecoin-project/chainwatch/sector-info-schema
...
feat: define miner sector schema
2020-07-01 11:02:57 +02:00
Raúl Kripalani
77c7eb6fd9
fix lint errors.
2020-06-30 22:56:13 +01:00
Raúl Kripalani
05e521ab03
fix test compilation issue.
2020-06-30 16:47:32 +01:00
Raúl Kripalani
4f9c907248
rename build.{BlockDelay=>BlockDelaySecs}.
...
Since this global is not typed as a time.Duration,
rather as an int, it makes sense to clarify the unit.
2020-06-30 14:26:49 +01:00
Łukasz Magiera
936ead016e
Bump genesis funds for node_tests
2020-06-30 15:24:30 +02:00
Raúl Kripalani
0fddf3e114
make system constants configurable as vars.
...
This configurability is unlocked through the `testground`
build tag, which Project Oni will uses.
Changes in the usage places of these relaxed constants
were required due to the fact that Golang constants are
untyped, but vars aren't.
Read https://blog.golang.org/constants for more info.
2020-06-30 14:18:26 +01:00
Łukasz Magiera
24529bf35d
Merge branch 'next' into feat/specs-actors-v0.7.0
2020-06-29 22:45:50 +02:00
Travis Person
12f10ac414
lotus-shed: organize peer key generate and other key commands under keyinfo
2020-06-29 20:07:39 +00:00
hannahhoward
4e32c7edb3
feat(markets): update to markets 0.3.1
...
Update to markets 0.3.1 with multiaddr support for miners
2020-06-29 10:24:23 -07:00
laser
b9180a99d4
toggle consideration of offline storage/retrieval deal proposals
2020-06-26 12:27:41 -07:00
laser
e910a045d0
big rename to allow for later introducing the "consider offline" config
2020-06-26 10:50:54 -07:00
laser
5d9a775699
replace enable/disable commands with selection commands
2020-06-26 10:33:06 -07:00
Łukasz Magiera
5d6fcbeccf
Change initial pledge calc to PrecommitInfo
2020-06-26 18:00:50 +02:00
Łukasz Magiera
24f4c96fc3
apitest: auto-start sealing precoss
2020-06-26 17:28:05 +02:00
Łukasz Magiera
6893dbb657
api: MsigCrate required param is now uint64
2020-06-26 15:52:22 +02:00
Łukasz Magiera
edd7151184
Fix StateMinerInitialPledgeCollateral
2020-06-26 15:49:39 +02:00
Łukasz Magiera
a7c372efff
storage-fsm updates for sector packing
2020-06-26 15:13:18 +02:00
Łukasz Magiera
a6d1323eba
Update specs-actors to v0.7.0; More correct genesis sector import
2020-06-26 15:08:12 +02:00
frrist
6fe39ef065
fixup! feat: define miner sector schema
2020-06-25 17:03:28 -07:00
Aayush Rajasekaran
e3c897fb68
Change StateReadState to take an address, not an actor
2020-06-25 13:49:15 -04:00
laser
4c760ec1b1
lint: update comments to match type declarations
2020-06-24 08:08:10 -07:00
laser
176d0bb7c0
add "lotus-storage-miner retrieval-deals" subcommands
...
- enable retrieval
- disable retrieval
2020-06-24 08:08:10 -07:00
laser
ef0abf2b98
disable/enable retrieval deal consideration via config
2020-06-24 08:07:12 -07:00
Łukasz Magiera
6f8c464393
Merge remote-tracking branch 'origin/master' into feat/sector-remove
2020-06-23 23:54:27 +02:00
Yusef Napora
5074cf8beb
import DrandConfig from dtypes
2020-06-23 16:23:06 -04:00
Yusef Napora
b448de422e
improve DrandConfig dependency injection
2020-06-23 16:01:10 -04:00
Łukasz Magiera
99d3571772
Merge pull request #2115 from filecoin-project/feat/drand-config-override
...
allow overriding drand config
2020-06-23 21:59:05 +02:00
Łukasz Magiera
0354275b39
Merge pull request #2112 from laser/bugs/2111-hanging-client-retrieve
...
return error if retrieval deal rejected
2020-06-23 21:56:02 +02:00
laser
309fbc15b2
import aliasing, for legibility
2020-06-23 12:22:33 -07:00
laser
06162290af
explicitly handle each deal status, as per PR feedback
2020-06-23 12:14:41 -07:00
Yusef Napora
628872d0e4
forgot my go fmt hook
2020-06-23 15:10:27 -04:00
Łukasz Magiera
fb04b17fad
state: Get correct locked table in StateMarketParticipants
2020-06-23 20:55:59 +02:00
laser
8adc831a31
return error if retrieval deal rejected
2020-06-23 11:08:04 -07:00
Yusef Napora
566a99240d
allow overriding drand config
2020-06-23 13:33:18 -04:00
Raúl Kripalani
d20255b1b4
provide an option to disable loading of built-in assets.
2020-06-22 19:42:04 +01:00
Łukasz Magiera
5adc188466
miner: Command to remove sectors
2020-06-22 19:35:14 +02:00
laser
fbeaab466a
obey the linter
2020-06-19 09:20:20 -07:00
laser
de7d6c255c
blacklist -> blocklist
2020-06-18 15:51:01 -07:00
laser
0c8d648998
specify which CID is being blacklisted (it's the piece)
2020-06-18 14:02:22 -07:00
laser
aa18d1985e
reject storage deal proposals containing blacklisted piece CIDs
2020-06-18 13:32:20 -07:00