Optimize eth_getBlockByNumber and eth_getBlockByHash implementations (#187)

* Avoid two step queries for creating a block object

* Use a db tx while fetching block objects

* Upgrade ipfs-ethdb
This commit is contained in:
prathamesh0
2022-08-23 12:42:19 +05:30
committed by GitHub
parent ddc7485c08
commit e40e8a7335
8 changed files with 162 additions and 196 deletions
+4 -4
View File
@@ -19,10 +19,10 @@ package version
import "fmt"
const (
Major = 2 // Major version component of the current release
Minor = 0 // Minor version component of the current release
Patch = 0 // Patch version component of the current release
Meta = "" // Version metadata to append to the version string
Major = 4 // Major version component of the current release
Minor = 1 // Minor version component of the current release
Patch = 5 // Patch version component of the current release
Meta = "alpha" // Version metadata to append to the version string
)
// Version holds the textual version string.