ipld-eth-server/pkg/datastore/postgres/repositories
Rob Mulholand 3e39ccb9bb Fix missing block numbers lookup
- Previously, a block was treated as missing if there was a number in
the given range for which there existing a block that did not match
the node's fingerprint. This meant that in a case where we have a block
that does not match the node's fingerprint and also one that does match,
the block would be treated as missing. This led to errors being thrown
when attempting to add a block that already exists.
- These changes treat a block as missing only if we do not already have
a block that matches the number and node fingerprint.
2018-06-08 11:26:25 -05:00
..
block_repository_test.go Fix missing block numbers lookup 2018-06-08 11:26:25 -05:00
block_repository.go Fix missing block numbers lookup 2018-06-08 11:26:25 -05:00
contract_repository_test.go Sync only missing blocks on cold import 2018-05-07 16:38:04 -05:00
contract_repository.go Handle events 2018-03-05 10:01:50 -06:00
log_filter_repository_test.go Handle events 2018-03-05 10:01:50 -06:00
log_filter_repository.go Handle events 2018-03-05 10:01:50 -06:00
logs_repository_test.go Sync only missing blocks on cold import 2018-05-07 16:38:04 -05:00
logs_repository.go Add cold import script 2018-05-04 10:54:00 -05:00
receipt_repository.go Add cold import script 2018-05-04 10:54:00 -05:00
receipts_repository_test.go Sync only missing blocks on cold import 2018-05-07 16:38:04 -05:00
repositories_suite_test.go Handle events 2018-03-05 10:01:50 -06:00
watched_events_repository_test.go Sync only missing blocks on cold import 2018-05-07 16:38:04 -05:00
watched_events_repository.go Handle events 2018-03-05 10:01:50 -06:00