{"modulePath":"github.com/aquariumdevs/node","version":"v0.0.0-20240628133006-68781a419691","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\nbls.go\n\ntools.go\n\n## Functions\n\n```go\nfunc CheckProofPrint(k, v, root, packedSiblings []byte) (bool, error)\n```\n/AUX CODE TO DEBUG:\n\n```go\nfunc UnpackSiblings(b []byte) ([][]byte, error)\n```\nUnpackSiblings unpacks the siblings from a byte array.\n\n## Types\n\n```go\ntype Account struct {\n\tAddress []byte\n\tData    []byte\n\tState   []byte\n\n\tCounter  uint32\n\tAmount   uint32\n\tModified bool\n\t// contains filtered or unexported fields\n}\n```\n\n```go\ntype App struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewApp() (*App, error)\n```\n\n```go\nfunc (App) ApplySnapshotChunk(req abcitypes.RequestApplySnapshotChunk) abcitypes.ResponseApplySnapshotChunk\n```\n\n```go\nfunc (app *App) BeginBlock(req abcitypes.RequestBeginBlock) abcitypes.ResponseBeginBlock\n```\n\n```go\nfunc (app *App) CheckTx(req abcitypes.RequestCheckTx) abcitypes.ResponseCheckTx\n```\n\n```go\nfunc (app *App) Commit() abcitypes.ResponseCommit\n```\n\n```go\nfunc (app *App) DeliverTx(req abcitypes.RequestDeliverTx) abcitypes.ResponseDeliverTx\n```\n\n```go\nfunc (app *App) EndBlock(req abcitypes.RequestEndBlock) abcitypes.ResponseEndBlock\n```\n\n```go\nfunc (App) Info(req abcitypes.RequestInfo) abcitypes.ResponseInfo\n```\n\n```go\nfunc (app *App) InitChain(req abcitypes.RequestInitChain) abcitypes.ResponseInitChain\n```\n\n```go\nfunc (App) ListSnapshots(req abcitypes.RequestListSnapshots) abcitypes.ResponseListSnapshots\n```\n\n```go\nfunc (App) LoadSnapshotChunk(req abcitypes.RequestLoadSnapshotChunk) abcitypes.ResponseLoadSnapshotChunk\n```\n\n```go\nfunc (App) OfferSnapshot(req abcitypes.RequestOfferSnapshot) abcitypes.ResponseOfferSnapshot\n```\n\n```go\nfunc (app *App) Query(reqQuery abcitypes.RequestQuery) (resQuery abcitypes.ResponseQuery)\n```\n\n```go\nfunc (App) SetOption(req abcitypes.RequestSetOption) abcitypes.ResponseSetOption\n```\n\n```go\ntype Contract struct {\n\tAddress []byte\n\n\tCounter uint64\n\tPayload []byte\n\t// contains filtered or unexported fields\n}\n```\n\n```go\ntype Logger struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\ntype MerkleTree struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewMerkleTree(database db.Database) *MerkleTree\n```\n\n```go\nfunc (tree *MerkleTree) Add(key, value []byte) error\n```\n\n```go\nfunc (tree *MerkleTree) AddBatch(keys, values [][]byte) error\n```\n\n```go\nfunc (tree *MerkleTree) GenProof(key []byte) ([]byte, []byte, []byte, error)\n```\n\n```go\nfunc (tree *MerkleTree) Poseidon(values [][]byte) ([]byte, error)\n```\n\n```go\nfunc (tree *MerkleTree) RecoverTree() error\n```\n\n```go\nfunc (tree *MerkleTree) Root() ([]byte, error)\n```\n\n```go\ntype PublicKey = blst.P1Affine\n```\n\n```go\ntype Signature = blst.P2Affine\n```\n\n```go\ntype Transaction struct {\n\tAmount uint32\n\tFee    uint32\n\t// contains filtered or unexported fields\n}\n```\n\n","path":"github.com/aquariumdevs/node","name":"main","synopsis":"bls.go","isRedistributable":true}
