Releases: OdyseeTeam/chainquery
v0.3.1
v0.3.0
Big Feature
Chainquery now has the ability to handle chain tree reorganizations. This is when a new best chain is selected that contains more work that the previous one. This is important to get Chainquery to be "real-time". We are now able to handle blocks with just 1 confirmation. If a reorg is detected the orphaned blocks and their data will be removed, as well as the new blocks processed. Chainquery will output the depth of the reorg as well as what height it happened at.
Changelog
efa3bce -Added capability to handle block reorgs to stay at the top of the chain.
a0a7b11 -Adjusted Schema to properly leverage the foreign keys. There were places where foreign key ownership (Delete/Cascade) was incorrect, causing cascading deletion of vouts leading to data corruption. Also updated lbry.go dependency.
070cca9 -Adjusted daemon delay to be 1 seconds for staying at leading block.
3950483 -Adjusted daemon delay to be 10 seconds for staying at leading block.
d6ce354 -Adjusted daemon to run with stopper pattern. This is important because once a block starts processing we need to complete it which means we need to gracefully shutdown. We cannot just reprocess -10 blocks and be OK. There could be a reorg that requires orphaned blocks to be deleted so data is not skewed.
0bb5016 -Fixed bug where previous block hash was not being set in the db.
c2a1a79 -Made API Server only log as debug information.
v0.2.2
v0.2.0
Changelog
8a7d0e4 -Added ClaimAddress assignment for ClaimName and ClaimUpdate during processing.
73bb337 -Added DHT Health checker to chainquery to allow querying of claim health on lbrynet.
bfe0b27 -Added a spent claims sync. Spent claims are no longer in the claim trie therefore will never make it into the standard claimtriesync since it takes from the recently updated claims.
d91e05d -Added automatic version maintenance.
d5f012d -Added field claim_address to claim model, index to is_spent on output, index to fee_address on claim, and index to claim_address on claim. claim_address will provide query support when claims are tipped or supported.
fed5040 -Added indices to make spent claims more easily queryable.
f81d9ea -Added migration to increase the size of fee amount -Made effective_amount uint64
8f49599 -Added upgrade script to set ClaimAddress on claim. It will now make a claim show as modified.
f6bbfb9 -Changed how jobs are launched and scheduled. DRY'd it up. Also made a change to the blocks behind. Based on the parallel sync of blocks now, this should be 2 times the blocks being done in parallel.
b84fd45 -Disabled DHT for next release.
6b757df -Fix ignored errors and import cycle during unit tests.
8dae441 -Fixed bug where latest_transaction_time was not being set.
83d0749 -Made db.CloseRows an exported function for use in other areas of the codebase.
e532c37 -Made generic worker package to reuse the code. This allows the controlling of the number of threads working in parallel by controlling the number of go routines running. When our parallel syncs are modified to use this it should make parallel processing more efficient.
20dd41b -Modified setting of spent status for output to only send the 2 attributes in query. -Added Parallel processing of blocks, currently hardcoded to be serialized for now. -Added Caching of TransactionAddress,Output,Input to reduce exist queries.
ad8f879 -Moved check for claimtriesync running to be inside the package only.
fd5da20 -ReadMe updates
744f245 -Removed print statement.
bc04df3 -Updated dependency version for lbry.go
063ace9 -Updated schema docs and readme.
349c62a -fixed bug where TransactionTime was not being set to the right field from LBRYcrd result.
5cd411a -fixed bug where spent by id on output was not be saved to the database, just the boolean flag was. So this also affected the bid state of a claim.
f912c8b -fixed bug where sync could miss blocks while sync due to when timestamp is grabbed.
5f51015 -fixed build issue with lbry.go dependency on rpcclient library
14b09d9 -fixed golint errors.
7d2cc43 -fixed readme title.
32526c7 Merge pull request #25 from roylee17/vendor-update-lbryschema.go
9b074ea vendor: update github.com/lbryio/lbryschema.go
v0.1.8
v0.1.7
Changelog
db4a5c5 -Added modified column support for the datastore.
c9fa366 -Added pbClaim value_as_json parsing and saving.
803389e -Added upgrade script to reprocess all claims for the value_as_json and modified columns.
89210a5 -code reorg for claim output re sync.
76f32c4 -fixed script bug where it would only upgrade from a specific version.
21293d6 -increased version to 0.1.7