ftl

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: LGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fractal

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

Fractal implements the Fractal full node service.

func NewFtl

func NewFtl(cfg *config.Config) (*Fractal, error)

New creates a new Fractal object.

func (*Fractal) BlockChain

func (s *Fractal) BlockChain() *chain.BlockChain

func (*Fractal) BloomRequestsReceiver

func (b *Fractal) BloomRequestsReceiver() chan chan *bloomquery.Retrieval

func (*Fractal) ChainDb

func (s *Fractal) ChainDb() dbwrapper.Database

func (*Fractal) Coinbase

func (s *Fractal) Coinbase() common.Address

func (*Fractal) Config

func (s *Fractal) Config() *config.Config

func (*Fractal) FtlVersion

func (s *Fractal) FtlVersion() int

func (*Fractal) GasPrice

func (s *Fractal) GasPrice() *big.Int

func (*Fractal) GetBlock

func (s *Fractal) GetBlock(ctx context.Context, fullHash common.Hash) *types.Block

func (*Fractal) GetBlockStr

func (s *Fractal) GetBlockStr(blockStr string) *types.Block

func (*Fractal) GetLogs

func (s *Fractal) GetLogs(ctx context.Context, fullHash common.Hash) [][]*types.Log

func (*Fractal) GetMainBranchBlock

func (s *Fractal) GetMainBranchBlock(height uint64) (*types.BlockHeader, error)

func (*Fractal) GetPoolTransactions

func (s *Fractal) GetPoolTransactions() types.Transactions

func (*Fractal) GetReceipts

func (s *Fractal) GetReceipts(ctx context.Context, fullHash common.Hash) types.Receipts

func (*Fractal) IsListening

func (s *Fractal) IsListening() bool

func (*Fractal) IsMining

func (s *Fractal) IsMining() bool

func (*Fractal) Miner

func (s *Fractal) Miner() miner.Miner

func (*Fractal) MiningKeyManager

func (s *Fractal) MiningKeyManager() *keys.MiningKeyManager

func (*Fractal) NetVersion

func (s *Fractal) NetVersion() uint64

func (*Fractal) Packer

func (s *Fractal) Packer() packer.Packer

func (*Fractal) Signer

func (s *Fractal) Signer() types.Signer

func (*Fractal) Start

func (s *Fractal) Start() error

starting all internal goroutines.

func (*Fractal) StartMining

func (s *Fractal) StartMining() error

func (*Fractal) Stop

func (s *Fractal) Stop() error

terminating all internal goroutines

func (*Fractal) StopMining

func (s *Fractal) StopMining()

func (*Fractal) Synchronizer

func (s *Fractal) Synchronizer() *ftl_sync.Synchronizer

func (*Fractal) TxPool

func (s *Fractal) TxPool() pool.Pool

Directories

Path Synopsis
Fractal implements the Fractal full node service.
Fractal implements the Fractal full node service.
Package network contains the implementation of network protocol handler for fractal.
Package network contains the implementation of network protocol handler for fractal.
Package network contains the implementation of network protocol handler for fractal.
Package network contains the implementation of network protocol handler for fractal.
sync cp2fp contains the implementation of fractal sync checkpoint to fixpoint.
sync cp2fp contains the implementation of fractal sync checkpoint to fixpoint.

Jump to

Keyboard shortcuts

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