Documentation ¶
Index ¶
- Constants
- Variables
- type Add
- func (a Add) Apply(appI interface{}) error
- func (z *Add) DecodeMsg(dc *msgp.Reader) (err error)
- func (z Add) EncodeMsg(en *msgp.Writer) (err error)
- func (z Add) MarshalMsg(b []byte) (o []byte, err error)
- func (z Add) Msgsize() (s int)
- func (a Add) SignableBytes() []byte
- func (z *Add) UnmarshalMsg(bts []byte) (o []byte, err error)
- func (a Add) Validate(interface{}) error
- type TestApp
- type TestState
Constants ¶
View Source
const ValueEndpoint = "/value"
Variables ¶
TxIDs is the testapp transactions
Functions ¶
This section is empty.
Types ¶
type Add ¶
type Add struct {
Qty int
}
Add transactions add an appropriate amount to the state
func (Add) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (Add) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (Add) SignableBytes ¶
SignableBytes implements Transactable
func (*Add) UnmarshalMsg ¶
UnmarshalMsg implements msgp.Unmarshaler
type TestApp ¶
TestApp is an application built solely for testing the metanode stuff
type TestState ¶
TestState is a super simple test state
func (TestState) MarshalNoms ¶
MarshalNoms implements metast.State
Click to show internal directories.
Click to hide internal directories.