Mike Greenberg
80ed6b8c25
fix(chainwatch): Process chain waitout waiting for update via ChainNotify
2020-08-31 22:31:25 -04:00
frrist
0185090cbb
perf(chainwatch): parallelize miner processing
2020-08-28 13:26:11 -07: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
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
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
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
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
Mike Greenberg
bf10de82df
fix(chainwatch): Handle RewardState.EpochSmoothingEstimate == nil
2020-08-20 01:55:17 -04: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
Mike Greenberg
8675ca561d
fix(api): Filter malformed peer ID before RPC marshaling
2020-08-18 16:29:21 -04: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
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
Łukasz Magiera
2e78ed685f
Merge pull request #3113 from filecoin-project/fix/chainwatch/calibration-improvements
...
Chainwatch Improvements
2020-08-17 19:06:05 +02:00
Mike Greenberg
80fef50b90
feat(chainwatch): Include detailed economic data per epoch
2020-08-17 12:22:34 -04: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
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
Aayush Rajasekaran
0359a458e4
Include more info in StateCirculatingSupply
2020-08-14 16:53:30 -04: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
3b23ab952b
gofmt
2020-08-13 13:44:43 +02:00
frrist
69a472c4ea
bug: fix id_address_map table conflicts on reorg
2020-08-12 16:54:45 -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
Mike Greenberg
b2b7f14432
feat(chainwatch): capture circulating fil per tipset metric
2020-08-07 19:39:52 -04:00
Mike Greenberg
4ed968b79c
feat(chainwatch): track message size in bytes
2020-08-07 14:25:35 -04: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
Jakub Sztandera
ab08858b45
Delete GasPrice from this world
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-06 23:08:42 +02: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
frrist
bc0408b962
refactor: add sector events back and miner info
2020-07-30 14:52:38 -07:00
Frrist
8b98fe1bf4
refresh top miners every 30 seconds ( #2673 )
2020-07-29 16:34:34 -07:00
Łukasz Magiera
2cbe8fd707
gofmt
2020-07-28 16:37:29 +02:00
frrist
ba7eaf3cc7
fix: reward actor processes null round states
2020-07-27 17:04:38 -07: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
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