Documentation ¶
Index ¶
- Variables
- func CalculateBundleHash(transactions []*value_transaction.ValueTransaction) trinary.Trytes
- func ProcessSolidBundleHead(headTransaction *value_transaction.ValueTransaction) error
- func ProcessSolidValueBundle(bundle *bundle.Bundle, ...) error
- func ValidateSignatures(bundleHash trinary.Hash, txs []*value_transaction.ValueTransaction) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrProcessBundleFailed = errors.New("failed to process bundle")
)
View Source
var Events = pluginEvents{ Error: events.NewEvent(errorCaller), BundleSolid: events.NewEvent(bundleEventCaller), InvalidBundle: events.NewEvent(bundleEventCaller), }
View Source
var PLUGIN = node.NewPlugin("Bundle Processor", node.Enabled, configure, run)
View Source
var WORKER_COUNT = runtime.NumCPU()
Functions ¶
func CalculateBundleHash ¶
func CalculateBundleHash(transactions []*value_transaction.ValueTransaction) trinary.Trytes
func ProcessSolidBundleHead ¶
func ProcessSolidBundleHead(headTransaction *value_transaction.ValueTransaction) error
func ProcessSolidValueBundle ¶
func ProcessSolidValueBundle(bundle *bundle.Bundle, bundleTransactions []*value_transaction.ValueTransaction) error
func ValidateSignatures ¶
func ValidateSignatures(bundleHash trinary.Hash, txs []*value_transaction.ValueTransaction) (bool, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.