Documentation ¶
Overview ¶
Package dummytimestamper implements a fake blockchain timestamper which can be used for testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Timestamper ¶
type Timestamper struct{}
Timestamper is the type that implements github.com/stratumn/sdk/blockchain.Timestamper.
func (Timestamper) Network ¶
func (Timestamper) Network() blockchain.Network
Network implements fmt.Stringer.
func (Timestamper) Timestamp ¶
func (Timestamper) Timestamp(data interface{}) (types.TransactionID, error)
Timestamp implements github.com/stratumn/sdk/blockchain.Timestamper.
func (Timestamper) TimestampHash ¶
func (Timestamper) TimestampHash(hash *types.Bytes32) (types.TransactionID, error)
TimestampHash implements github.com/stratumn/sdk/blockchain.HashTimestamper.
Click to show internal directories.
Click to hide internal directories.