Documentation ¶
Index ¶
- type AggregatedBatchProposals
- func (abp *AggregatedBatchProposals) AggregatedTime() time.Time
- func (abp *AggregatedBatchProposals) DecidedBaseAliasOutput() *isc.AliasOutputWithID
- func (abp *AggregatedBatchProposals) DecidedDSSIndexProposals() map[gpa.NodeID][]int
- func (abp *AggregatedBatchProposals) DecidedRequestRefs() []*isc.RequestRef
- func (abp *AggregatedBatchProposals) OrderedRequests(requests []isc.Request, randomness hashing.HashValue) []isc.Request
- func (abp *AggregatedBatchProposals) ShouldBeSkipped() bool
- func (abp *AggregatedBatchProposals) ValidatorFeeTarget() isc.AgentID
- type BatchProposal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregatedBatchProposals ¶
type AggregatedBatchProposals struct {
// contains filtered or unexported fields
}
Here we store just an aggregated info.
func AggregateBatchProposals ¶
func (*AggregatedBatchProposals) AggregatedTime ¶
func (abp *AggregatedBatchProposals) AggregatedTime() time.Time
func (*AggregatedBatchProposals) DecidedBaseAliasOutput ¶
func (abp *AggregatedBatchProposals) DecidedBaseAliasOutput() *isc.AliasOutputWithID
func (*AggregatedBatchProposals) DecidedDSSIndexProposals ¶
func (abp *AggregatedBatchProposals) DecidedDSSIndexProposals() map[gpa.NodeID][]int
func (*AggregatedBatchProposals) DecidedRequestRefs ¶
func (abp *AggregatedBatchProposals) DecidedRequestRefs() []*isc.RequestRef
func (*AggregatedBatchProposals) OrderedRequests ¶
func (abp *AggregatedBatchProposals) OrderedRequests(requests []isc.Request, randomness hashing.HashValue) []isc.Request
TODO should this be moved to the VM?
func (*AggregatedBatchProposals) ShouldBeSkipped ¶
func (abp *AggregatedBatchProposals) ShouldBeSkipped() bool
func (*AggregatedBatchProposals) ValidatorFeeTarget ¶
func (abp *AggregatedBatchProposals) ValidatorFeeTarget() isc.AgentID
type BatchProposal ¶
type BatchProposal struct {
// contains filtered or unexported fields
}
func NewBatchProposal ¶
func NewBatchProposal( nodeIndex uint16, baseAliasOutput *isc.AliasOutputWithID, dssIndexProposal util.BitVector, timeData time.Time, validatorFeeDestination isc.AgentID, requestRefs []*isc.RequestRef, ) *BatchProposal
func (*BatchProposal) Bytes ¶
func (b *BatchProposal) Bytes() []byte
Click to show internal directories.
Click to hide internal directories.