mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Update api.go
This commit is contained in:
parent
5ef6bc3d31
commit
eb5f11a911
1 changed files with 4 additions and 0 deletions
|
|
@ -1130,6 +1130,10 @@ func (o *BlockOverrides) MakeHeader(header *types.Header) *types.Header {
|
|||
// ChainContextBackend provides methods required to implement ChainContext.
|
||||
type ChainContextBackend interface {
|
||||
Engine() consensus.Engine
|
||||
// SYSCOIN
|
||||
ReadSYSHash(ctx context.Context, number rpc.BlockNumber) ([]byte, error)
|
||||
ReadDataHash(ctx context.Context, hash common.Hash) ([]byte, error)
|
||||
GetNEVMAddress(ctx context.Context, address common.Address) ([]byte, error)
|
||||
HeaderByNumber(context.Context, rpc.BlockNumber) (*types.Header, error)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue