actor

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2020 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockCompleted

type BlockCompleted struct {
	Block *types.Block
}

type LedgerActor

type LedgerActor struct {
	Ledger *actor.PID
}

type P2PActor

type P2PActor struct {
	P2P *actor.PID
}

func (*P2PActor) Broadcast

func (self *P2PActor) Broadcast(msg interface{})

func (*P2PActor) Transmit

func (self *P2PActor) Transmit(target uint64, msg ptypes.Message)

type StartConsensus

type StartConsensus struct{}

type StopConsensus

type StopConsensus struct{}

type TimeOut

type TimeOut struct{}

internal Message

type TxPoolActor

type TxPoolActor struct {
	Pool *actor.PID
}

func (*TxPoolActor) GetTxnPool

func (self *TxPoolActor) GetTxnPool(byCount bool, height uint32) []*txpool.TXEntry

func (*TxPoolActor) VerifyBlock

func (self *TxPoolActor) VerifyBlock(txs []*types.Transaction, height uint32) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL