Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- The chain metadata service keeps an internal copy of the chain meta…
…data that it distributes to remote nodes. It should keep this copy uptodate with the blockchain db based on received BlockEvents. It only updated the metadata on block add events and not reorg events, this could have resulted in outdated metadata being shared on the network. - Fixed an issue with the chain metadata service where it was not updating its copy of the chain metadata on reorg events. This could have resulted in some nodes on the network reporting outdated chain metadata. - The chain metadata service will look for both block add and reorg events to determine if the blockchain db state was updated and the latest chain metadata needs to be retrieved. - Also, chained the max send retries used by the Message protocol to 1.
- Loading branch information