EYBlockchain / timber

Construct a Merkle Tree database from Ethereum logs.
Other
67 stars 19 forks source link

perf: indexing unique leafValues, and refactor #26

Closed iAmMichaelConnor closed 4 years ago

iAmMichaelConnor commented 4 years ago

Indexing of leafValues added, provided a new env var UNIQUE_LEAVES='true'.

Refactoring of code.

insertLeaf, insertLeaves, insertNode, insertNodes endpoint bodies changed so that contractName and treeId is only provided once within the request. (Rather than including the contractName in every leaf).

github-actions[bot] commented 4 years ago

:tada: This PR is included in version 3.0.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: