Documentation ¶
Index ¶
- Constants
- type Approvers
- func (approvers *Approvers) Add(transactionHash trinary.Trytes)
- func (approvers *Approvers) GetHash() (result trinary.Trytes)
- func (approvers *Approvers) GetHashes() (result []trinary.Trytes)
- func (approvers *Approvers) GetModified() bool
- func (approvers *Approvers) Marshal() (result []byte)
- func (approvers *Approvers) Remove(approverHash trinary.Trytes)
- func (approvers *Approvers) SetModified(modified bool)
- func (approvers *Approvers) Unmarshal(data []byte) error
Constants ¶
View Source
const ( MARSHALED_APPROVERS_HASHES_COUNT_START = 0 MARSHALED_APPROVERS_HASH_START = MARSHALED_APPROVERS_HASHES_COUNT_END MARSHALED_APPROVERS_HASHES_START = MARSHALED_APPROVERS_HASH_END MARSHALED_APPROVERS_HASHES_COUNT_END = MARSHALED_APPROVERS_HASHES_COUNT_START + MARSHALED_APPROVERS_HASHES_COUNT_SIZE MARSHALED_APPROVERS_HASH_END = MARSHALED_APPROVERS_HASH_START + MARSHALED_APPROVERS_HASH_SIZE MARSHALED_APPROVERS_HASHES_COUNT_SIZE = 8 MARSHALED_APPROVERS_HASH_SIZE = 81 MARSHALED_APPROVERS_MIN_SIZE = MARSHALED_APPROVERS_HASHES_COUNT_SIZE + MARSHALED_APPROVERS_HASH_SIZE )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Approvers ¶
type Approvers struct {
// contains filtered or unexported fields
}
func (*Approvers) GetModified ¶
func (*Approvers) SetModified ¶
Click to show internal directories.
Click to hide internal directories.