Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
// contains filtered or unexported fields
}
Channel reprensents the connection to the eth blochain
func NewEthereumChannel ¶
NewEthereumChannel connects the eth-client
func (*Channel) GeneratePaymentAddress ¶
GeneratePaymentAddress generates a ethereum address and seed
func (*Channel) TransferAmount ¶
func (l *Channel) TransferAmount(Order *m.UserOrder, inTx *m.IncomingTransaction, Amount *big.Int, fromAddress string, PaymentType string, BTCOutIndex int) error
TransferAmount transfers the given amount to the given address in the btc network also adds the transaction logs
Click to show internal directories.
Click to hide internal directories.