-
Notifications
You must be signed in to change notification settings - Fork 808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indexer fixes and improvements #758
Merged
Merged
Commits on May 15, 2019
-
module indexer introduces a extensible architecture for indexing the chain. It provides a base class which handles syncing with the chain, handling re-orgs, interruptions, dynamic toggling, etc. TXIndexer and AddrIndexer are provided for indexing transactions and addresses, using the same flags as before i.e --index-tx and --index-address. Indexes are stored in a different database and can be maintained independently of the chain.
Configuration menu - View commit details
-
Copy full SHA for 05794f5 - Browse repository at this point
Copy the full SHA 05794f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33de39c - Browse repository at this point
Copy the full SHA 33de39cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51ac4a7 - Browse repository at this point
Copy the full SHA 51ac4a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f89c79 - Browse repository at this point
Copy the full SHA 9f89c79View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9aab08 - Browse repository at this point
Copy the full SHA f9aab08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bff122 - Browse repository at this point
Copy the full SHA 8bff122View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9e8c7b - Browse repository at this point
Copy the full SHA b9e8c7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05d55ef - Browse repository at this point
Copy the full SHA 05d55efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dc55c9 - Browse repository at this point
Copy the full SHA 7dc55c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32904c7 - Browse repository at this point
Copy the full SHA 32904c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7342952 - Browse repository at this point
Copy the full SHA 7342952View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f86dbc - Browse repository at this point
Copy the full SHA 9f86dbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa3f02d - Browse repository at this point
Copy the full SHA aa3f02dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2a6a92 - Browse repository at this point
Copy the full SHA e2a6a92View commit details -
indexer: fix, simplify and rewrite indexer base
- Write indexer state and index atomically. - Simplify chain state with current height. - Roll forward to best height. - Synchronize the index with the chain with common method `sync` for the events 'connect', 'disconnect' and 'reset'. This will prevent any of the events from conflicting with each other. - Fix the chain rollback and reset. - Make sure blocks are connected in the correct order. - Improve logging to log similar to chain.
Configuration menu - View commit details
-
Copy full SHA for 93c6ff8 - Browse repository at this point
Copy the full SHA 93c6ff8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebc40a5 - Browse repository at this point
Copy the full SHA ebc40a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06ef0e3 - Browse repository at this point
Copy the full SHA 06ef0e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c8f11e - Browse repository at this point
Copy the full SHA 4c8f11eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd26dbf - Browse repository at this point
Copy the full SHA bd26dbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb79760 - Browse repository at this point
Copy the full SHA bb79760View commit details -
Configuration menu - View commit details
-
Copy full SHA for b37ac59 - Browse repository at this point
Copy the full SHA b37ac59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80aaa14 - Browse repository at this point
Copy the full SHA 80aaa14View commit details -
Configuration menu - View commit details
-
Copy full SHA for f30276b - Browse repository at this point
Copy the full SHA f30276bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fae647b - Browse repository at this point
Copy the full SHA fae647bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69e9844 - Browse repository at this point
Copy the full SHA 69e9844View commit details -
- Vectors for p2wsh and p2sh. - Edge case for witness program. - Improve determinism by not comparing mtime. - Various edge and error cases.
Configuration menu - View commit details
-
Copy full SHA for b4be857 - Browse repository at this point
Copy the full SHA b4be857View commit details -
Configuration menu - View commit details
-
Copy full SHA for 865f740 - Browse repository at this point
Copy the full SHA 865f740View commit details -
Configuration menu - View commit details
-
Copy full SHA for efb2551 - Browse repository at this point
Copy the full SHA efb2551View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d18f9b - Browse repository at this point
Copy the full SHA 5d18f9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cede31d - Browse repository at this point
Copy the full SHA cede31dView commit details -
indexer: check that blocks are connected
There was a rare case that a block could be incorrectly added to the indexer if the indexer was disabled during a reorg to a height that matched the height that was expected, and the `sync` method for the indexer wasn't called that would detect the reorg.
Configuration menu - View commit details
-
Copy full SHA for ed06c21 - Browse repository at this point
Copy the full SHA ed06c21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5111af0 - Browse repository at this point
Copy the full SHA 5111af0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 677b45f - Browse repository at this point
Copy the full SHA 677b45fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6fd1be - Browse repository at this point
Copy the full SHA a6fd1beView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce16bc9 - Browse repository at this point
Copy the full SHA ce16bc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 372b9f9 - Browse repository at this point
Copy the full SHA 372b9f9View commit details -
blockchain: cleanup deprecated methods
Deprecation details are in CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 662a68c - Browse repository at this point
Copy the full SHA 662a68cView commit details
Commits on May 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 34e8f22 - Browse repository at this point
Copy the full SHA 34e8f22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e9d00a - Browse repository at this point
Copy the full SHA 7e9d00aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c497d4 - Browse repository at this point
Copy the full SHA 6c497d4View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.