Ł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
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
Ł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
Ł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
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
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
Frank
b2f94e4239
update lotusstorage
2020-07-09 10:20:25 +08:00
Frank
5b9baba900
fix issue 2304: ux improvements
2020-07-09 10:20:25 +08:00
Mike Greenberg
1081679360
feat(chainwatch): Capture miner_power data
2020-07-08 18:56:55 -04:00
Mike Greenberg
b9effac437
feat(chainwatch): Capture baseline power in chain_power
2020-07-08 18:40:09 -04: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
24d8a84ad7
Merge pull request #2252 from filecoin-project/override-maddr
...
add `actor` flag to `lotus-storage-miner` for proving and info calls
2020-07-08 21:28:29 +02:00