Documentation ¶
Index ¶
- type Alloc
- type BesuProvider
- func (p *BesuProvider) CreateAccount(args []string) (interface{}, error)
- func (p *BesuProvider) DeployContract(filename, contractName, instanceName string, member *types.Organization, ...) (*types.ContractDeploymentResult, error)
- func (p *BesuProvider) DeployFireFlyContract() (*types.ContractDeploymentResult, error)
- func (p *BesuProvider) FirstTimeSetup() error
- func (p *BesuProvider) GetBlockchainPluginConfig(stack *types.Stack, m *types.Organization) (blockchainConfig *types.BlockchainConfig)
- func (p *BesuProvider) GetConnectorExternalURL(org *types.Organization) string
- func (p *BesuProvider) GetConnectorName() string
- func (p *BesuProvider) GetConnectorURL(org *types.Organization) string
- func (p *BesuProvider) GetContracts(filename string, extraArgs []string) ([]string, error)
- func (p *BesuProvider) GetDockerServiceDefinitions() []*docker.ServiceDefinition
- func (p *BesuProvider) GetOrgConfig(stack *types.Stack, m *types.Organization) (orgConfig *types.OrgConfig)
- func (p *BesuProvider) ParseAccount(account interface{}) interface{}
- func (p *BesuProvider) PostStart(firstTimeSetup bool) error
- func (p *BesuProvider) PreStart() error
- func (p *BesuProvider) Reset() error
- func (p *BesuProvider) WriteConfig(options *types.InitOptions) error
- type CliqueConfig
- type Genesis
- type GenesisConfig
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BesuProvider ¶
type BesuProvider struct {
// contains filtered or unexported fields
}
func NewBesuProvider ¶ added in v1.1.0
func NewBesuProvider(ctx context.Context, stack *types.Stack) *BesuProvider
func (*BesuProvider) CreateAccount ¶ added in v0.0.47
func (p *BesuProvider) CreateAccount(args []string) (interface{}, error)
func (*BesuProvider) DeployContract ¶ added in v0.0.45
func (p *BesuProvider) DeployContract(filename, contractName, instanceName string, member *types.Organization, extraArgs []string) (*types.ContractDeploymentResult, error)
func (*BesuProvider) DeployFireFlyContract ¶ added in v0.0.47
func (p *BesuProvider) DeployFireFlyContract() (*types.ContractDeploymentResult, error)
func (*BesuProvider) FirstTimeSetup ¶
func (p *BesuProvider) FirstTimeSetup() error
func (*BesuProvider) GetBlockchainPluginConfig ¶ added in v1.1.0
func (p *BesuProvider) GetBlockchainPluginConfig(stack *types.Stack, m *types.Organization) (blockchainConfig *types.BlockchainConfig)
func (*BesuProvider) GetConnectorExternalURL ¶ added in v1.1.0
func (p *BesuProvider) GetConnectorExternalURL(org *types.Organization) string
func (*BesuProvider) GetConnectorName ¶ added in v1.1.0
func (p *BesuProvider) GetConnectorName() string
func (*BesuProvider) GetConnectorURL ¶ added in v1.1.0
func (p *BesuProvider) GetConnectorURL(org *types.Organization) string
func (*BesuProvider) GetContracts ¶ added in v0.0.45
func (p *BesuProvider) GetContracts(filename string, extraArgs []string) ([]string, error)
func (*BesuProvider) GetDockerServiceDefinitions ¶
func (p *BesuProvider) GetDockerServiceDefinitions() []*docker.ServiceDefinition
func (*BesuProvider) GetOrgConfig ¶ added in v1.1.0
func (p *BesuProvider) GetOrgConfig(stack *types.Stack, m *types.Organization) (orgConfig *types.OrgConfig)
func (*BesuProvider) ParseAccount ¶ added in v0.0.47
func (p *BesuProvider) ParseAccount(account interface{}) interface{}
func (*BesuProvider) PostStart ¶
func (p *BesuProvider) PostStart(firstTimeSetup bool) error
func (*BesuProvider) PreStart ¶
func (p *BesuProvider) PreStart() error
func (*BesuProvider) Reset ¶ added in v0.0.36
func (p *BesuProvider) Reset() error
func (*BesuProvider) WriteConfig ¶
func (p *BesuProvider) WriteConfig(options *types.InitOptions) error
type CliqueConfig ¶ added in v0.0.38
type Genesis ¶ added in v0.0.38
type Genesis struct { Config *GenesisConfig `json:"config"` Nonce string `json:"nonce"` Timestamp string `json:"timestamp"` ExtraData string `json:"extraData"` GasLimit string `json:"gasLimit"` Difficulty string `json:"difficulty"` MixHash string `json:"mixHash"` Coinbase string `json:"coinbase"` Alloc map[string]*Alloc `json:"alloc"` Number string `json:"number"` GasUsed string `json:"gasUsed"` ParentHash string `json:"parentHash"` }
func CreateGenesis ¶ added in v0.0.38
func (*Genesis) WriteGenesisJSON ¶ added in v1.3.0
type GenesisConfig ¶ added in v0.0.38
type GenesisConfig struct { ChainID int64 `json:"chainId"` ConstantinopleFixBlock int `json:"constantinoplefixblock"` Clique *CliqueConfig `json:"clique"` }
Click to show internal directories.
Click to hide internal directories.