# Functions
DatabasePropertyFromString helper function.
MultihashKeyFromKeccak256 converts keccak256 hash bytes into a blockstore-prefixed multihash db key string.
NewBatch returns a ethdb.Batch interface for PG-IPFS.
NewDatabase returns a ethdb.Database interface for PG-IPFS.
NewIterator returns an ethdb.Iterator interface for PG-IPFS.
NewKeyValueStore returns a ethdb.KeyValueStore interface for PG-IPFS.
ResetTestDB drops all rows in the test db public.blocks table.
TestDB connect to the testing database it assumes the database has the IPFS public.blocks table present DO NOT use a production db for the test db, as it will remove all contents of the public.blocks table.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Batch is the type that satisfies the ethdb.Batch interface for PG-IPFS Ethereum data using a direct Postgres connection.
No description provided by the author
Database is the type that satisfies the ethdb.Database and ethdb.KeyValueStore interfaces for PG-IPFS Ethereum data using a direct Postgres connection.
Iterator is the type that satisfies the ethdb.Iterator interface for PG-IPFS Ethereum data using a direct Postgres connection Iteratee interface is used in Geth for various tests, trie/sync_bloom.go (for fast sync), rawdb.InspectDatabase, and the new core/state/snapshot features.
# Type aliases
DatabaseProperty enum type.