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
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
laser
176d0bb7c0
add "lotus-storage-miner retrieval-deals" subcommands
...
- enable retrieval
- disable retrieval
2020-06-24 08:08:10 -07:00
laser
bc90b857c9
change "lotus-storage-miner deals" to "lotus-storage-miner storage-deals"
2020-06-24 08:08:10 -07:00
Łukasz Magiera
f1e686f706
Merge pull request #2107 from chunqizhi/zc
...
An incorrect sector was detected, but also run windowPoSt
2020-06-24 12:40:16 +02:00
奇
24c7f47566
Modify print faulty sectors in provingFaultsCmd
2020-06-24 10:14:20 +08:00
Łukasz Magiera
4037d707c9
Merge pull request #2120 from filecoin-project/feat/change-addrs-cmd
...
add command to change registered multiaddrs for miner
2020-06-24 01:02:35 +02:00
Łukasz Magiera
001d4ab002
Appease the linter
2020-06-24 01:00:32 +02:00
Łukasz Magiera
d7bb284e57
miner: Move set-addrs command to a new 'actor' namespace
2020-06-24 00:54:28 +02:00
Łukasz Magiera
6f8c464393
Merge remote-tracking branch 'origin/master' into feat/sector-remove
2020-06-23 23:54:27 +02:00
whyrusleeping
d524821c86
add command to change registered multiaddrs for miner
2020-06-23 14:25:45 -07:00
Łukasz Magiera
f8e7901b89
Address review
2020-06-23 14:44:34 +02:00
Łukasz Magiera
5adc188466
miner: Command to remove sectors
2020-06-22 19:35:14 +02:00
Aayush Rajasekaran
4959596527
Clarify expected block win when below minimum power threshold
2020-06-22 11:42:26 -04:00
奇
956c397c3c
Add provingFaultsCmd for getting sectors information for the currently known faults
2020-06-22 16:00:29 +08: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
99060fbb64
eliminate errant debug line
2020-06-18 14:05:59 -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
laser
997a46a90f
wombat
2020-06-18 10:32:32 -07: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
laser
fcdfda8ba2
use chain head instead of mining base
2020-06-17 10:56:42 -07:00
laser
791dff5a87
don't go into negative remaining time
2020-06-17 10:30:16 -07:00
laser
402cd8be19
get-ask output should use durations, too
2020-06-17 10:20:42 -07:00
laser
9d7be5dcbf
modify set-ask to work with human-readable clock time/duration
2020-06-17 09:20:43 -07:00
laser
673a643184
use xerrors, as per feedback in PR
2020-06-17 08:57:18 -07:00
laser
5d4f1bb3f1
work with bit-padded byte quantities, as per PR feedback
2020-06-17 08:42:30 -07:00
laser
139c3297ab
change "duration" help text
2020-06-17 08:34:50 -07:00
laser
5acf5bf102
upper and lower bounds checking
2020-06-16 17:45:11 -07:00
laser
4ba1846c11
format the piece sizes
2020-06-16 17:32:45 -07: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
Jeromy
01c4726fd5
add some smartness to bench analyze gas output
2020-06-15 13:02:57 -07:00
Łukasz Magiera
01f0bb3124
Merge pull request #1994 from laser/feat/1920-toggle-accepting-storage-deals
...
allow miner to disable/enable consideration of received storage deal proposals
2020-06-15 19:05:39 +02:00
Łukasz Magiera
70c8f7b1ee
Merge remote-tracking branch 'origin/master' into feat/merge-master
2020-06-15 14:38:38 +02:00
chunqizhi
12056c8904
go fmt
2020-06-15 17:43:42 +08:00
chunqizhi
6d36c030e0
Add usage information for provingInfoCmd
2020-06-13 18:05:30 +08: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
laser
67110ce739
stub enable/disable storage deal commands
2020-06-11 12:20:11 -07:00
Łukasz Magiera
3b13397165
gofmt
2020-06-06 00:59:01 +02:00
Łukasz Magiera
163c2b2544
Merge remote-tracking branch 'origin/master' into next
2020-06-06 00:58:24 +02:00
Łukasz Magiera
d27750590a
Merge pull request #1928 from filecoin-project/fix/lsm-prov-deadlines
...
Make lotus-storage-miner deadlines correct
2020-06-06 00:37:09 +02:00
Łukasz Magiera
f765fe36d7
Make lotus-storage-miner deadlines correct
2020-06-06 00:28:32 +02:00
Łukasz Magiera
3f81ff3507
Update specs-actors
2020-06-05 22:06:11 +02:00
laser
4855045ea2
pass context to paramfetch.GetParams
...
Fixes #1209
2020-06-05 10:28:00 -07:00
Łukasz Magiera
7ae9d26cd1
Merge remote-tracking branch 'origin/next' into fix/sealing-betterering
2020-06-05 14:00:47 +02:00
Łukasz Magiera
9e5cc7c910
Update fsm, sector-storage
2020-06-05 10:46:45 +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
5aafa91e22
Merge pull request #1898 from filecoin-project/deps/update
...
Update CLI lib
2020-06-04 23:45:39 +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
8bbe63bd9d
Add expected win rate to miner-info
2020-06-04 21:26:29 +02:00
Jakub Sztandera
29dbc26dbd
Update cli
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-04 01:01:41 +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
Łukasz Magiera
35740895ed
Merge pull request #1899 from filecoin-project/feat/1827-lotus-daemon-stop-cmd
...
add (sub)commands which shut down lotus daemon and storage miner
2020-06-03 19:15:20 +02:00
Jakub Sztandera
673a972fe9
Merge remote-tracking branch 'origin/master' into next
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-02 22:49:27 +02:00
Jeromy
9b867a221a
add subcall timing to compute state output
2020-06-02 12:53:24 -07:00
laser
bea9cd2fe2
rename to better convey intent + document
2020-06-02 12:35:11 -07:00
laser
ee9d9a52a9
first take at a "lotus-storage-miner stop" command
...
Fixes #1827
2020-06-02 12:31:21 -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
Łukasz Magiera
64f4e80446
Include build type in version
2020-06-01 20:49:39 +02:00
Łukasz Magiera
f7a71f4be7
Merge pull request #1837 from filecoin-project/feat/secstor-unseal
...
Update sector-storage with ReadPiece impl
2020-05-29 20:36:40 +02:00
Łukasz Magiera
e5c24ff32b
Update sector-storage with ReadPiece impl
2020-05-29 19:53:35 +02: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
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
Jakub Sztandera
4604b60fb1
Remove drand on miner side, MinerGetBaseInfo provides the same info
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 20:24:26 +02:00
shannonwells
e68ab286f6
upgrade lotus to go-fil-markets v0.2.5
2020-05-20 15:56:58 -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
shannon
cc5875c6bd
Pset represents the proving sectors, and Sset repensents all sectors
2020-05-20 12:12:13 +08:00
Jeromy
cf9e576028
avoid dividing by zero if pset is empty
2020-05-16 11:35:24 -07:00
Jeromy
363f575e6c
properly handle parsing of miner init sector sizes
2020-05-13 13:12:13 -07:00
Łukasz Magiera
e12e2b4e4e
cli: fix proving info with no sectors
2020-05-13 19:58:49 +02:00
Łukasz Magiera
4c64f0ca11
sync: enforce message gas limits
2020-05-13 03:36:56 +02:00
Łukasz Magiera
ba389598ee
Cleanup build package
2020-05-12 19:59:28 +02:00
Jeromy
8b58f22c2e
block producers should have only one address
2020-05-05 12:01:44 -07:00
Łukasz Magiera
35b1963eeb
gofmt
2020-05-01 21:51:31 +02:00
Łukasz Magiera
f9be73c73e
storageminer: Fix 'storage list' with disconnected storage
2020-05-01 20:43:39 +02:00
Łukasz Magiera
d9acd484c0
storageminer: Improve CLI UX
2020-05-01 14:06:19 +02:00
Łukasz Magiera
5026091623
Merge remote-tracking branch 'origin/testnet/3' into feat/storage-better-fetch
2020-04-30 20:56:52 +02:00
Łukasz Magiera
89b19af43f
specs-actors v0.3
2020-04-29 20:06:05 +02:00
Łukasz Magiera
068e9a29d2
Merge remote-tracking branch 'origin/testnet/3' into feat/storage-better-fetch
2020-04-29 13:27:49 +02:00
Łukasz Magiera
9dcb42328e
gofmt
2020-04-28 19:27:13 +02:00
Łukasz Magiera
8d35aacd31
Update sector-storage with better fetch logic
2020-04-28 14:57:53 +02:00
Łukasz Magiera
af794a6281
storageminer: Print some balances in info
2020-04-24 23:02:27 +02:00
Łukasz Magiera
55f7c81aaf
specs-actors: Fix miner cron on null blocks
2020-04-24 19:12:30 +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
Yu Da
9b598e5ec3
fix #1574 ( #1583 )
...
* fix #1566
* fix #1566
Co-authored-by: Da Yu <dayu26@dadeMacBook-Pro.local>
2020-04-23 09:44:25 -07:00
Whyrusleeping
f960cccc51
Merge pull request #1568 from filecoin-project/feat/fix-reward-redeem
...
fix reward redeem command to work again
2020-04-21 15:23:49 -07:00
Jeromy
e3f2dfaec0
fix reward redeem command to work again
2020-04-21 14:45:33 -07:00
Łukasz Magiera
24c764c91e
Don't print QAPower as bytes
2020-04-21 21:46:50 +02:00
Łukasz Magiera
c406b875fa
gofmt, mod tidy
2020-04-21 19:23:49 +02:00
Łukasz Magiera
8be9494672
windowed post: Get correct sector set
2020-04-21 19:22:53 +02:00
Łukasz Magiera
a86595bc88
Use nicer DeadlineInfo struct
2020-04-20 19:34:08 +02:00
Łukasz Magiera
3b7ae0d6d9
mod tidy, gofmt
2020-04-18 00:02:43 +02:00
Łukasz Magiera
712e2683d6
miner: proving info commands
2020-04-18 00:02:18 +02:00
Łukasz Magiera
93b2b6d65d
Merge branch 'testnet/3' into feat/windowed-post
2020-04-17 18:38:20 +02:00
Łukasz Magiera
bab352fb44
Wireup WinningPost validation
2020-04-17 16:47:19 +02:00
Łukasz Magiera
afdfc8807d
api: Single method for static miner info
2020-04-16 19:36:36 +02:00
Łukasz Magiera
f88e400d74
make things build
2020-04-16 00:17:39 +02:00
Jeromy
674be39af1
real drand network integration
2020-04-13 20:06:10 -07:00
Łukasz Magiera
5bf80a60f1
Get proof type in NewWinningPoStProver constructor
2020-04-13 23:25:46 +02:00
Łukasz Magiera
349b2890bf
Drop 'rewards list' for now
2020-04-13 22:43:27 +02:00
Łukasz Magiera
a2554952d1
Some electionPoSt -> winningPoSt renaming
2020-04-11 00:22:45 +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
laser
6dffe9377f
provide deal scheduling info to FSM so that it can set pre-commit expiry
2020-04-10 08:22:28 -07:00
Łukasz Magiera
70d654e4a6
Merge pull request #1527 from filecoin-project/feat/drand
...
Initial randomness beacon implementation
2020-04-09 19:48:09 +02:00
Łukasz Magiera
2b0bf372a7
Merge pull request #1507 from filecoin-project/feat/completions
...
Shell completions
2020-04-08 16:29:18 +02:00
Jakub Sztandera
c16806eb78
gofmt
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 14:54:06 +02: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
laser
f53250ee90
reorder imports
2020-04-06 13:27:14 -07:00
laser
dcd9e7da27
miscellaneous fixes post-rebase
2020-04-06 13:23:37 -07:00
laser
650a31b050
remove all lotus types from sealing package in preparation for extraction
...
events adapter
implement StateWaitMsg and StateComputeDataCommitment
implement StateGetSectorPreCommitOnChainInfo
implement ChainHead and SendMsg
implement remaining methods
2020-04-06 12:57:55 -07:00
Łukasz Magiera
a1b35aa9d5
Change api.SectorState to a string
2020-04-03 18:29:31 +02:00
Łukasz Magiera
dd6adcd240
rewards cli: Print amount in list as Fil
2020-04-03 06:31:59 +02:00
Łukasz Magiera
2bdedefa05
Shell completions
2020-04-03 04:03:53 +02:00
Łukasz Magiera
fa86359549
storageminer: Parse pretty sector sizes in init
2020-04-01 23:56:49 +02:00
Jeromy
417d434973
several fixes and improvements while debugging interop
2020-03-31 18:35:23 -07:00
Whyrusleeping
ea135991e3
Merge pull request #1480 from filecoin-project/feat/better-deal-info
...
Better deal info at the command line
2020-03-31 13:29:07 -07:00
hannahhoward
ae3f7522f0
feat(cli): use MarketListIncompleteDeals for miner deals cmd
...
Switch from DealsList to MarketListIncompleteDeals which (while poorly named) provides much more
information about what's happening with a miners deals
2020-03-31 11:54:37 -07:00
Pedro Costa
5e2a94e22f
Fix offline deal import command arguments check
...
Why:
* It is failing if the number of arguments is the expected one.
2020-03-31 19:18:13 +01:00
Łukasz Magiera
95ee1c1cde
Extract sector-storage
2020-03-28 01:32:39 +01:00
Łukasz Magiera
c66d3dfad7
sectorstorage: Untangle from lotus deps
2020-03-27 22:35:33 +01:00
Łukasz Magiera
de1f2be505
Merge pull request #1458 from filecoin-project/feat/merge-sectorbuilder
...
Merge sectorbuilder into sectorstorage
2020-03-27 18:53:58 +01:00
Jeromy
3470ed7847
re add storage miner api flag
2020-03-26 22:19:29 -07:00
Łukasz Magiera
e050e0307e
Cleanup after dropping sectorbuilder
2020-03-26 20:35:16 +01:00
Łukasz Magiera
4be54a976c
Merge sectorbuilder into sectorstorage
2020-03-26 03:51:06 +01:00
Łukasz Magiera
cfc65f525a
sectorstorage: wire up closing logic
2020-03-25 00:52:55 +01:00
Łukasz Magiera
5de17e903c
storageminer: Config for local worker task types
2020-03-24 20:38:00 +01:00
Łukasz Magiera
726c9c1fe7
workers: Address review
2020-03-24 19:01:04 +01:00
Łukasz Magiera
8559c89560
storageminer: More storage stats in storage list
2020-03-23 23:43:38 +01:00
Łukasz Magiera
a3ba8eb0d7
workers: Basic monitoring tools
2020-03-23 15:56:22 +01:00
Łukasz Magiera
80d0f1f2c1
storageminer: Cleanup CLI
2020-03-23 13:29:24 +01:00
Łukasz Magiera
5e4a7e54df
Rename agvmgr+sealmgr to sectorstorage
2020-03-23 12:47:10 +01:00
Łukasz Magiera
d43f2a2e3b
workers: Address review
2020-03-22 22:39:06 +01:00
Łukasz Magiera
df9aa0e357
storagemitner: manage ulimit on start
2020-03-22 22:08:22 +01:00
Łukasz Magiera
c6f67911de
storageminer: Improve storage find cmd
2020-03-20 23:39:07 +01:00
Łukasz Magiera
076cc428af
workers: Fix moving storage around in later steps
2020-03-20 01:55:49 +01:00