ethProc

package
v1.0.46 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DbFlags map[string]bool

Functions

func ByteSliceToByte2

func ByteSliceToByte2(x []byte) (rv [2]byte)

func ByteSliceToByte32

func ByteSliceToByte32(x []byte) (rv [32]byte)

func ConnectToEthereum

func ConnectToEthereum() (err error)

func DecryptKeyFile

func DecryptKeyFile(keyFile, password string) (*keystore.Key, error)

DecryptKeyFile reads in a key file decrypt it with the password.

func DecryptKeyFileData

func DecryptKeyFileData(data, password string) (*keystore.Key, error)

DecryptKeyFileData takes keyfile data and decrypt it with the password.

func SendTokensHandler

func SendTokensHandler(c *gin.Context)

func Setup

func Setup(dbf map[string]bool, lfp *os.File, ec *data.EthConfigData)

-------------------------------------------------------------------------------------------------------------------------------------------------------------

func SetupMux

func SetupMux(router *gin.Engine)

func SetupRealm

func SetupRealm(r string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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