Ł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
40113933b4
gofmt
2020-07-06 22:47:39 +02:00
Łukasz Magiera
4b0ae7ef9a
Merge remote-tracking branch 'origin/master' into next
2020-07-06 11:38:19 +02:00
whyrusleeping
16e493a67a
provide decoded return values in output of StateWaitMsg
2020-07-03 09:57:58 -07: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
Ł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
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
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
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
176d0bb7c0
add "lotus-storage-miner retrieval-deals" subcommands
...
- enable retrieval
- disable retrieval
2020-06-24 08:08:10 -07:00
Łukasz Magiera
6f8c464393
Merge remote-tracking branch 'origin/master' into feat/sector-remove
2020-06-23 23:54:27 +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
Ł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
Łukasz Magiera
5adc188466
miner: Command to remove sectors
2020-06-22 19:35:14 +02: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
b0edf924b4
add commands for manipulating storage deal CID blacklist
2020-06-18 13:15:18 -07:00
Łukasz Magiera
02234d00b7
Merge remote-tracking branch 'origin/master' into next
2020-06-17 20:50:42 +02:00
Łukasz Magiera
d4644a28c1
Merge pull request #2046 from laser/feat/2027-manipulate-ask
...
add ask-manipulating (and printing) deal subcommands
2020-06-17 20:03:51 +02:00
Łukasz Magiera
8b8bb5e833
rpc: add Closing method
2020-06-17 17:47:18 +02:00
laser
5eceed81e1
add "get-ask" command
2020-06-16 17:23:03 -07:00
laser
6253c39100
replace "set-price" with "set-ask"
...
Fixes #2027
2020-06-16 16:13:21 -07:00
Ignacio Hagopian
ec9a334f93
append message on unavailable and error status
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-16 17:52:47 -03:00
Ignacio Hagopian
35d9de6b6e
consider response status and err
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-16 17:32:03 -03:00
Ignacio Hagopian
7fd082e941
resolve peerid
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-16 12:22:44 -03:00
Ignacio Hagopian
9d17e0be9d
ClientMinerQueryOfer API & CLI support
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-16 11:14:49 -03:00
Łukasz Magiera
ab4c11c096
Merge remote-tracking branch 'origin/master' into next
2020-06-16 12:04:29 +02:00
Aayush Rajasekaran
69948cd09c
WalletSign should resolve ID addresses
2020-06-15 21:00:22 -04:00
hannahhoward
a422647819
fix(lint): fix lint error
...
fix lint error and update to tagged package
2020-06-15 15:53:39 -07:00
hannahhoward
9262661135
chore(deps): update to fil-markets 0.3.0
...
Updates to latest fil markets with resumability and other fixes
2020-06-15 15:43:47 -07:00
Łukasz Magiera
0230362d33
Merge pull request #2025 from filecoin-project/deps/specs-actors-v0.6
...
specs-actors v0.6
2020-06-15 21:30:37 +02:00
Łukasz Magiera
907364ce67
Update deps, fix more tests
2020-06-15 18:30:49 +02:00
laser
36b327b57b
various symbol renames
2020-06-11 13:18:18 -07:00
laser
7587e6c08b
get and set storage deal acceptance through CLI
2020-06-11 12:59:50 -07:00
Jakub Sztandera
c3f23ddce8
Refactor ExecutionResult to ExecutionTrace
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-11 15:53:47 +02:00
Aayush Rajasekaran
5cf76ba8b3
Create an api.MinerInfo that has peerID as a Peer ID
2020-06-09 19:07:53 -04:00
Łukasz Magiera
3b56288a5e
Merge remote-tracking branch 'origin/master' into next
2020-06-08 18:29:36 +02:00
Łukasz Magiera
df867f3349
Merge pull request #1946 from filecoin-project/asr/walletdelete
...
Add delete functionality to the wallet
2020-06-08 13:27:42 +02:00
Aayush Rajasekaran
741825a04e
Correct double-counting in StateMinerAvailableBalance
2020-06-07 20:49:50 -04:00
Aayush Rajasekaran
49b27da426
Add delete functionality to the wallet
2020-06-07 19:36:01 -04:00
Łukasz Magiera
33a00ab9e5
Merge pull request #1938 from filecoin-project/deps/spect-actors-upd
...
Update specs-actors
2020-06-06 00:31:09 +02:00
Łukasz Magiera
a5d81c6cc9
Merge pull request #1932 from filecoin-project/feat/chainget-state
...
chain get: @state selector to prettify actor state
2020-06-05 22:42:36 +02:00
Łukasz Magiera
3f81ff3507
Update specs-actors
2020-06-05 22:06:11 +02:00
Łukasz Magiera
6b06ae528c
chain get: @state selector to prettify actor state
2020-06-05 17:41:21 +02:00
Łukasz Magiera
7ae9d26cd1
Merge remote-tracking branch 'origin/next' into fix/sealing-betterering
2020-06-05 14:00:47 +02:00
Jakub Sztandera
7bee5b3abc
Merge remote-tracking branch 'origin/master' into next
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-05 00:33:43 +02:00
Łukasz Magiera
f9f0d86ddf
Merge pull request #1913 from acruikshank/feat/1853-confirmations-in-StateWaitMsg2
...
Add confidence and timeout to message wait
2020-06-04 23:23:15 +02:00
Łukasz Magiera
c625b30781
Update fsm adapter
2020-06-04 21:26:29 +02:00
acruikshank
04f0130530
remove timeout
2020-06-03 17:42:06 -04:00
acruikshank
5574e4f11b
add confidence and timeout to message wait
2020-06-03 15:38:37 -04:00
Jakub Sztandera
7f962e19c2
Fix lint
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-03 03:19:18 +02:00
Jakub Sztandera
186fd4da74
Add lotus net scores
for pubsub score visibility
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-03 03:13:49 +02:00
laser
46a016cdce
name change, for consistency
2020-06-02 12:38:21 -07:00
laser
bea9cd2fe2
rename to better convey intent + document
2020-06-02 12:35:11 -07:00
laser
38d714a28a
first take at "daemon stop" command
...
Fixes #1827
TODO: plumb the daemon-stopping into lotus-storage-miner, too
2020-06-02 12:29:58 -07:00
Jakub Sztandera
5605aae269
Fix even more lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-02 16:29:39 +02:00
Łukasz Magiera
64f4e80446
Include build type in version
2020-06-01 20:49:39 +02:00
Łukasz Magiera
7003960fdd
Merge remote-tracking branch 'origin/master' into next
2020-06-01 18:52:06 +02:00
Aayush Rajasekaran
ec0baefc48
Add an API method to list all faults occuring in a certain range
2020-05-31 00:57:52 -04:00
Łukasz Magiera
785eeb1eee
Merge pull request #1850 from filecoin-project/chore/lint
...
Cleanup many lint warnings
2020-05-29 18:06:06 +02:00
Jeromy
e2a554c2e6
update specs actors to version with batch porep verification
2020-05-28 13:19:18 -07:00
Ignacio Hagopian
10753f14d0
retrieve: make fileref optional
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-05-28 22:11:49 +02:00
Jakub Sztandera
b372881e91
Fix more lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-28 01:15:19 +02:00
Jakub Sztandera
d6615b6286
Cleanup many lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 22:53:20 +02:00
Ignacio Hagopian
bcd84cbe9d
retrieve: make fileref optional
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-05-26 14:52:52 -03:00
Jeromy
805686be2e
Add command to sort miners by deal counts
2020-05-21 15:52:20 -07:00
shannonwells
652c257763
passing w/ new namespace wraps
2020-05-20 15:58:59 -07:00
Łukasz Magiera
f7325a69c1
Extract auth utils to go-jsonrpc
2020-05-20 20:37:45 +02:00
Łukasz Magiera
eeca031525
extract lib/jsonrpc to go-jsonrpc
2020-05-20 19:49:09 +02:00
Łukasz Magiera
ae60001dcc
post: Handle Recovering sectors
2020-05-20 18:41:20 +02:00
Jeromy
607bcc401c
very basic api documentation autogeneration
2020-05-18 17:20:54 -07:00
Łukasz Magiera
022348f426
state: Calculate slightly larger initial pledge
2020-05-15 16:53:35 +02:00
Aris
e7065df2d4
Added RPC calls for MsigCreate, MsigPropose, MsigApprove, and MsigCancel
2020-05-11 10:27:48 -04:00
Łukasz Magiera
523a7a9d8d
Merge pull request #1670 from filecoin-project/feat/update-markets-0.2.0
...
Update go-fil-markets
2020-05-06 01:45:33 +02:00
Jeromy
74510adaaa
add flag to choose what to do when looking back tipsets in null rounds
2020-05-05 10:06:05 -07:00
hannahhoward
a9866c757e
feat(deps): update go-fil-markets
...
Update to latest 0.2.0 release of go-fil-markets with less-blocking node io
2020-05-04 18:36:51 -07:00
Jeromy
bee25d221f
fix mining base randomness
2020-04-30 15:11:14 -07:00
Jeromy
e345525672
Add flag to specify deal start epoch
2020-04-30 10:51:08 -07:00
Aayush Rajasekaran
cf8691ed87
update chain validation
2020-04-28 20:31:41 -04:00
Whyrusleeping
b2dda08368
respect shutdown signals when sleeping in miner code ( #1617 )
2020-04-27 15:54:41 -07:00
Łukasz Magiera
55f7c81aaf
specs-actors: Fix miner cron on null blocks
2020-04-24 19:12:30 +02:00
Łukasz Magiera
da7db5fa98
Merge remote-tracking branch 'origin/testnet/3' into feat/check-deps
2020-04-24 00:59:15 +02:00
Łukasz Magiera
96f9d58066
Merge pull request #1575 from filecoin-project/feat/estimate-gas-price-api
...
add an api for estimating gas prices
2020-04-24 00:47:27 +02:00
Jeromy
f4948dcba0
remove api dependency on sealing fsm package
2020-04-23 15:33:59 -07:00
Łukasz Magiera
309f54aa0c
Update sector-storage
2020-04-23 15:29:31 -07:00
Jeromy
ef1d485c6e
move head change type out of chainstore package
2020-04-23 15:28:59 -07:00
Łukasz Magiera
c137b0cf73
Merge remote-tracking branch 'origin/testnet/3' into feat/newminer
2020-04-23 23:53:23 +02:00
Łukasz Magiera
86e7f5914b
testing: test 2-miner mining
2020-04-23 23:20:02 +02:00
Whyrusleeping
faa9002cce
working on sector pledge requirements after specs-actors 1.0.0 ( #1584 )
...
* WIP: working on sector pledge requirements after specs-actors 1.0.0
* update storage-fsm with pledge collateral logic
* Set bigger balances for miners
* Return only additional required pledge
* split collateral methods into two methods
Co-authored-by: Łukasz Magiera <magik6k@gmail.com>
2020-04-23 12:39:34 -07:00
Jeromy
1d5059c281
add tipsetkey to estimate gas api
2020-04-22 15:37:59 -07:00
Jeromy
7e7caa8859
more expressive estimate gas api
2020-04-22 15:28:51 -07:00
Jeromy
2a97045317
add an api for estimating gas prices
2020-04-22 09:37:38 -07:00
Łukasz Magiera
9f9ae155e3
windowed post: Review cleanup
2020-04-21 23:38:33 +02:00
Łukasz Magiera
8be9494672
windowed post: Get correct sector set
2020-04-21 19:22:53 +02:00
Jeromy
91f56742c4
Use lookback to get sector set and power for miners
2020-04-17 16:44:18 -07:00
Łukasz Magiera
3b7ae0d6d9
mod tidy, gofmt
2020-04-18 00:02:43 +02:00
Łukasz Magiera
8828668541
mpool: Adjust sends from ID addresses
2020-04-17 18:47:14 +02:00
Łukasz Magiera
93b2b6d65d
Merge branch 'testnet/3' into feat/windowed-post
2020-04-17 18:38:20 +02:00
Łukasz Magiera
15a4565714
Fix deal publishing
2020-04-16 23:43:39 +02:00
Łukasz Magiera
918b759d03
mpool: Fix PushWithNonce for ID addresses
2020-04-16 23:06:31 +02:00
Łukasz Magiera
dc2a67f13f
Fix worker key resolving
2020-04-16 22:38:42 +02:00
Aayush Rajasekaran
4a93ad33f9
Propose Deal: Fail early if data doesn't fit in a sector
2020-04-16 15:34:01 -04:00
Łukasz Magiera
afdfc8807d
api: Single method for static miner info
2020-04-16 19:36:36 +02:00
Łukasz Magiera
85993848be
bring back api.StateMinerProvingSet
2020-04-15 22:40:46 +02:00
Łukasz Magiera
0336b32fcd
windowpost: Wire up challenge generation
2020-04-15 22:22:58 +02:00
Łukasz Magiera
149bb56b8e
wip updates to sector set handling
2020-04-15 21:59:11 +02:00
Aayush Rajasekaran
fc933858e1
Add an API method to calculate piece CIDs
2020-04-15 14:00:42 -04:00
Łukasz Magiera
bb3789b130
Fix ADT uses
2020-04-13 23:06:11 +02:00
Łukasz Magiera
d3ffe48fcb
Get things to mostly build
2020-04-10 23:29:05 +02:00
Łukasz Magiera
e053cd6b9c
Merge remote-tracking branch 'origin/testnet/3' into feat/windowed-post
2020-04-10 23:09:01 +02:00
Łukasz Magiera
613e61222b
mostly wire up WindowedPoSt
2020-04-10 23:07:18 +02:00
Łukasz Magiera
3426611340
Merge pull request #1526 from filecoin-project/feat/pass-deal-schedule-for-pre-commit-expiry-scheduling
...
provide deal scheduling info to FSM so that it can set pre-commit expiry
2020-04-10 23:05:50 +02:00
Łukasz Magiera
0f0015f45c
Merge pull request #1520 from filecoin-project/feat/graphsync-chainsync-extension
...
Update to latest go-fil-markets w/ enhanced Graphsync
2020-04-10 20:27:05 +02:00
laser
6dffe9377f
provide deal scheduling info to FSM so that it can set pre-commit expiry
2020-04-10 08:22:28 -07:00
Jeromy
c5c18659a4
address some review
2020-04-08 17:24:10 -07:00
Jakub Sztandera
ce4978d8c3
Reintroduce correct ticket randomness alongside ElectionProof
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 21:06:41 +02:00
Jakub Sztandera
f1c890ca54
Tests pass
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 18:31:16 +02:00
hannahhoward
00cd89750d
feat(deps): update fil-markets, graphsync
...
Updates dependencies for graphsync, fil-markets, data-transfer. Moves to new graphsync blockstore
swapping capabilities, and also locks down graphsync impl so it does not accept arbitrary requests
2020-04-07 23:25:29 -07:00
Jakub Sztandera
afdb1db529
drand wip
...
,
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-07 15:32:23 -07:00
Jeromy
7075eaba26
WIP: random beacon interface
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-07 15:32:23 -07:00
laser
110c869dd3
cut over to storage-fsm, deleting local sealing package
2020-04-07 09:34:09 -07:00
laser
43f4db2308
SectorID -> SectorNumber
2020-04-06 15:31:33 -07:00