frrist
08006bce3d
fix: use bigint for gas_used in message receipt
...
- prevents overflows
2020-07-21 08:49:27 -07:00
Mike Greenberg
cf917fc426
fix(chainwatch): Restore base block reward metric capture
2020-07-20 17:31:27 -04:00
Łukasz Magiera
1a1bd38495
Merge remote-tracking branch 'origin/master' into next
2020-07-18 00:43:08 +02: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
18d1ab0cb9
fix(chainwatch): Parallel reward persistence; Tighten rpc logging
2020-07-16 22:58:27 -04: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
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
frrist
c9cb39d5a0
polish: update deal proposal table if slashed
2020-07-12 11:39:58 -07: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
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
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
frrist
e1c29ca469
polish: wire up miner state predicate
2020-07-06 14:36:21 -07: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
frrist
e576c7a08e
"feat": add logic to update miner sector table on term
2020-06-30 21:26:46 -07:00
frrist
8c54c09ab7
pair: work from pair with placer
2020-06-30 13:22:58 -07:00
Frrist
c16ea42fad
fix: update miner_head table with new miner fields ( #2142 )
2020-06-30 10:26:41 -07:00
frrist
6fe39ef065
fixup! feat: define miner sector schema
2020-06-25 17:03:28 -07:00
frrist
47c3e14d4b
fixup! feat: define miner sector schema
2020-06-25 17:00:22 -07:00
frrist
d8b647cc3a
fixup! feat: define miner sector schema
2020-06-25 16:07:43 -07:00
frrist
2c0a4914cf
feat: define miner sector schema
...
- define a miner sector schema to store miner sector details at each tipset the miner experiences a
state change. This solution stores redundant data since a miner state change (head cid changes)
does not necessarily indicate its sectors changes.
- makes progress towards sentinel/issues/10
2020-06-25 13:16:50 -07:00
Aayush Rajasekaran
e3c897fb68
Change StateReadState to take an address, not an actor
2020-06-25 13:49:15 -04:00
frrist
a98c4038f4
fix: use tipset corresponding to stateroot
...
- Use te tipsetkey corresponding to the stateroot when fetching actor
data from the lotus api.
2020-06-24 11:01:25 -07:00
Łukasz Magiera
358b36bc66
chainwatch: state_heights_uindex is not unique
2020-06-24 14:34:53 +02:00
Łukasz Magiera
3b13397165
gofmt
2020-06-06 00:59:01 +02:00
Jakub Sztandera
29dbc26dbd
Update cli
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-04 01:01:41 +02: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
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
Jakub Sztandera
d6615b6286
Cleanup many lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 22:53:20 +02:00
Łukasz Magiera
c4d01c04a4
chainwatch: don't crash with nil ticket
2020-05-15 19:06:52 +02:00
Łukasz Magiera
0522af155d
chainwatch: Record drand entries
2020-04-25 00:25:33 +02:00
Travis Person
4e1dddab67
chainwatch: fix sql syntax error
2020-04-22 22:57:17 +00:00
Łukasz Magiera
fe6d666150
Get all tests to pass
2020-04-18 01:14:39 +02:00
Jeromy
c5c18659a4
address some review
2020-04-08 17:24:10 -07:00
Jakub Sztandera
f4f649acf4
Fix chainwatch
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 21:17:44 +02:00
whyrusleeping
ddf1beac6c
change gas limit to be a normal int64
2020-03-18 13:45:37 -07:00