txpool

package
v0.0.0-...-dde17ac Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2018 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package txpool handles incoming transactions for a sharded Ethereum blockchain.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TXPool

type TXPool struct {
	// contains filtered or unexported fields
}

TXPool handles a transaction pool for a sharded system.

func NewTXPool

func NewTXPool(p2p *p2p.Server) (*TXPool, error)

NewTXPool creates a new observer instance.

func (*TXPool) Start

func (p *TXPool) Start()

Start the main routine for a shard transaction pool.

func (*TXPool) Stop

func (p *TXPool) Stop() error

Stop the main loop for a transaction pool in the shard network.

Jump to

Keyboard shortcuts

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