mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
rename torquem-ch project
This commit is contained in:
parent
c6899ab0a9
commit
66d93f2489
4
Makefile
4
Makefile
@ -133,9 +133,9 @@ db-tools:
|
||||
@echo "Building db-tools"
|
||||
|
||||
go mod vendor
|
||||
cd vendor/github.com/erigonteh/mdbx-go && MDBX_BUILD_TIMESTAMP=unknown make tools
|
||||
cd vendor/github.com/erigontech/mdbx-go && MDBX_BUILD_TIMESTAMP=unknown make tools
|
||||
mkdir -p $(GOBIN)
|
||||
cd vendor/github.com/erigonteh/mdbx-go/mdbxdist && cp mdbx_chk $(GOBIN) && cp mdbx_copy $(GOBIN) && cp mdbx_dump $(GOBIN) && cp mdbx_drop $(GOBIN) && cp mdbx_load $(GOBIN) && cp mdbx_stat $(GOBIN)
|
||||
cd vendor/github.com/erigontech/mdbx-go/mdbxdist && cp mdbx_chk $(GOBIN) && cp mdbx_copy $(GOBIN) && cp mdbx_dump $(GOBIN) && cp mdbx_drop $(GOBIN) && cp mdbx_load $(GOBIN) && cp mdbx_stat $(GOBIN)
|
||||
rm -rf vendor
|
||||
@echo "Run \"$(GOBIN)/mdbx_stat -h\" to get info about mdbx db file."
|
||||
|
||||
|
@ -28,7 +28,7 @@ We have Go, Rust and C++ implementations of `RoKV` interface.
|
||||
Rationale and Architecture of DB interface: [./../../ethdb/Readme.md](../../ethdb/Readme.md)
|
||||
|
||||
MDBX: [docs](https://libmdbx.website.yandexcloud.net)
|
||||
and [mdbx.h](https://github.com/erigonteh/libmdbx/blob/master/mdbx.h)
|
||||
and [mdbx.h](https://github.com/erigontech/libmdbx/blob/master/mdbx.h)
|
||||
|
||||
|
||||
### How RAM used
|
||||
|
@ -145,7 +145,7 @@ feature DupFixed (can add this flag to table configuration).
|
||||
|
||||
It means in 1 db call you can Get/Put up to 4Kb of sub-table keys.
|
||||
|
||||
[see mdbx.h](https://github.com/erigonteh/libmdbx/blob/master/mdbx.h)
|
||||
[see mdbx.h](https://github.com/erigontech/libmdbx/blob/master/mdbx.h)
|
||||
|
||||
Erigon
|
||||
---------
|
||||
|
@ -120,6 +120,6 @@ now it should be all set and we can test it with:
|
||||
|
||||
curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"myNamespace_getBlockNumberByHash","params":["ANYHASH"],"id":1}' localhost:8545
|
||||
|
||||
another example of custom daemon can be found at https://github.com/erigonteh/project-1/blob/master/api.go.
|
||||
another example of custom daemon can be found at https://github.com/erigontech/project-1/blob/master/api.go.
|
||||
|
||||
Happy Building ~~~.
|
||||
|
@ -17,7 +17,7 @@ About "key-value-style": Modern key-value databases don't provide Get/Put/Delete
|
||||
// And show which classes satisfy which interfaces.
|
||||
|
||||
+-----------------------------------+ +-----------------------------------+
|
||||
| github.com/erigonteh/mdbx-go | | google.golang.org/grpc.ClientConn |
|
||||
| github.com/erigontech/mdbx-go | | google.golang.org/grpc.ClientConn |
|
||||
| (app-agnostic MDBX go bindings) | | (app-agnostic RPC and streaming) |
|
||||
+-----------------------------------+ +-----------------------------------+
|
||||
| |
|
||||
|
Loading…
Reference in New Issue
Block a user