Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStakingToPeer ¶
func NewStakingToPeer(args ArgStakingToPeer) (*stakingToPeer, error)
NewStakingToPeer creates the component which moves from staking sc state to peer state
Types ¶
type ArgStakingToPeer ¶
type ArgStakingToPeer struct { AdrConv state.AddressConverter Hasher hashing.Hasher ProtoMarshalizer marshal.Marshalizer VmMarshalizer marshal.Marshalizer PeerState state.AccountsAdapter BaseState state.AccountsAdapter ArgParser process.ArgumentsParser CurrTxs dataRetriever.TransactionCacher ScQuery external.SCQueryService }
ArgStakingToPeer is struct that contain all components that are needed to create a new stakingToPeer object
Click to show internal directories.
Click to hide internal directories.