Documentation ¶
Overview ¶
Package bcbatchfossilizer implements a fossilizer that fossilize batches of hashes on a blockchain.
Index ¶
Constants ¶
View Source
const ( // Name is the name set in the fossilizer's information. Name = "bcbatch" // Description is the description set in the fossilizer's information. Description = "Indigo's Blockchain Batch Fossilizer" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
HashTimestamper blockchain.HashTimestamper
}
Config contains configuration options for the fossilizer.
type Fossilizer ¶
type Fossilizer struct { *batchfossilizer.Fossilizer // contains filtered or unexported fields }
Fossilizer is the type that implements github.com/stratumn/sdk/fossilizer.Adapter.
func New ¶
func New(config *Config, batchConfig *batchfossilizer.Config) (*Fossilizer, error)
New creates an instance of a Fossilizer.
func (*Fossilizer) GetInfo ¶
func (a *Fossilizer) GetInfo() (interface{}, error)
GetInfo implements github.com/stratumn/sdk/fossilizer.Adapter.GetInfo.
Click to show internal directories.
Click to hide internal directories.