Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/d4l3k/go-electrum
/ functions
Functions
50 in github.com/d4l3k/go-electrum
⨍
Functions
50
◇
Types & classes
10
↓ 13 callers
Method
request
request makes a request to the server and unmarshals the response into v.
electrum/network.go:153
↓ 3 callers
Method
Addresses
Addresses returns all addresses generated in the current bitcoin wallet.
wallet/wallet.go:36
↓ 3 callers
Method
err
err handles errors produced by the foreign node.
electrum/network.go:97
↓ 2 callers
Method
BlockchainAddressSubscribe
BlockchainAddressSubscribe subscribes to transactions on an address and returns the hash of the transaction history. http://docs.electrum.org/en/lates
electrum/blockchain.go:64
↓ 2 callers
Method
BlockchainTransactionGet
BlockchainTransactionGet returns the raw transaction (hex-encoded) for the given txid. If transaction doesn't exist, an error is returned. http://docs
electrum/blockchain.go:175
↓ 2 callers
Method
ConnectTCP
ConnectTCP creates a new TCP connection to the specified address.
electrum/network.go:67
↓ 2 callers
Method
listen
()
electrum/tcp.go:52
↓ 2 callers
Method
listen
listen processes messages from the server.
electrum/network.go:103
↓ 2 callers
Method
listenPush
listenPush returns a channel of messages matching the method.
electrum/network.go:144
↓ 2 callers
Function
openWallet
(db walletdb.DB, privPass string, seed []byte)
wallet/wallet.go:165
↓ 2 callers
Function
returnBytes
(bytes []byte)
wallet/wallet.go:150
↓ 1 callers
Method
BlockchainAddressGetBalance
BlockchainAddressGetBalance returns the balance of an address. TODO (d4l3k) investigate `error from server: "'Node' object has no attribute '__getitem
electrum/blockchain.go:124
↓ 1 callers
Method
BlockchainAddressGetHistory
BlockchainAddressGetHistory returns the history of an address. http://docs.electrum.org/en/latest/protocol.html#blockchain-address-get-history
electrum/blockchain.go:104
↓ 1 callers
Method
BlockchainAddressListUnspent
BlockchainAddressListUnspent lists the unspent transactions for the given address. http://docs.electrum.org/en/latest/protocol.html#blockchain-address
electrum/blockchain.go:138
↓ 1 callers
Method
BlockchainHeadersSubscribe
BlockchainHeadersSubscribe request client notifications about new blocks in form of parsed blockheaders and returns the current block header. http://d
electrum/blockchain.go:35
↓ 1 callers
Method
BlockchainNumBlocksSubscribe
BlockchainNumBlocksSubscribe returns the current number of blocks. http://docs.electrum.org/en/latest/protocol.html#blockchain-numblocks-subscribe
electrum/blockchain.go:13
↓ 1 callers
Method
BlockchainTransactionBroadcast
BlockchainTransactionBroadcast sends a raw transaction. TODO(d4l3k) implement http://docs.electrum.org/en/latest/protocol.html#blockchain-transaction-
electrum/blockchain.go:161
↓ 1 callers
Method
Errors
()
electrum/network.go:25
↓ 1 callers
Method
GenAddresses
GenAddresses generates a number of addresses for the wallet.
wallet/wallet.go:53
↓ 1 callers
Function
NewSSLTransport
(addr string, config *tls.Config)
electrum/tcp.go:30
↓ 1 callers
Function
NewTCPTransport
(addr string)
electrum/tcp.go:16
↓ 1 callers
Method
Responses
()
electrum/network.go:24
↓ 1 callers
Method
SendBitcoin
SendBitcoin sends some amount of bitcoin specifying minimum confirmations.
wallet/wallet.go:66
↓ 1 callers
Method
SendMessage
([]byte)
electrum/network.go:23
↓ 1 callers
Method
ServerBanner
ServerBanner returns the server's banner. http://docs.electrum.org/en/latest/protocol.html#server-banner
electrum/server.go:13
↓ 1 callers
Method
ServerDonationAddress
ServerDonationAddress returns the donation address of the server. http://docs.electrum.org/en/latest/protocol.html#server-donation-address
electrum/server.go:21
↓ 1 callers
Method
ServerPeersSubscribe
ServerPeersSubscribe requests peers from a server. http://docs.electrum.org/en/latest/protocol.html#server-peers-subscribe
electrum/server.go:29
↓ 1 callers
Method
ServerVersion
ServerVersion returns the server's version. http://docs.electrum.org/en/latest/protocol.html#server-version
electrum/server.go:5
↓ 1 callers
Method
handleTransactions
(c <-chan string)
wallet/wallet.go:219
↓ 1 callers
Method
insertTx
(tx string)
wallet/wallet.go:236
↓ 1 callers
Function
stripManagedAddrs
(mAddrs []waddrmgr.ManagedAddress)
wallet/wallet.go:121
↓ 1 callers
Method
watchAddress
(addr string)
wallet/wallet.go:208
Method
BlockchainAddressGetMempool
TODO(d4l3k) implement http://docs.electrum.org/en/latest/protocol.html#blockchain-address-get-mempool
electrum/blockchain.go:114
Method
BlockchainAddressGetProof
TODO(d4l3k) implement http://docs.electrum.org/en/latest/protocol.html#blockchain-address-get-proof
electrum/blockchain.go:134
Method
BlockchainBlockGetChunk
TODO(d4l3k) implement http://docs.electrum.org/en/latest/protocol.html#blockchain-block-get-chunk
electrum/blockchain.go:156
Method
BlockchainBlockGetHeader
TODO(d4l3k) implement http://docs.electrum.org/en/latest/protocol.html#blockchain-block-get-header
electrum/blockchain.go:152
Method
BlockchainEstimateFee
http://docs.electrum.org/en/latest/protocol.html#blockchain-estimatefee BlockchainEstimateFee estimates the transaction fee per kilobyte that needs to
electrum/blockchain.go:183
Method
BlockchainTransactionGetMerkle
TODO(d4l3k) implement http://docs.electrum.org/en/latest/protocol.html#blockchain-transaction-get-merkle
electrum/blockchain.go:171
Method
BlockchainUtxoGetAddress
TODO(d4l3k) implement http://docs.electrum.org/en/latest/protocol.html#blockchain-utxo-get-address
electrum/blockchain.go:148
Method
ConnectSSL
ConnectSLL creates a new SLL connection to the specified address.
electrum/network.go:82
Function
Create
Create creates a wallet with the specified path, private key password and seed. Seed can be created using: hdkeychain.GenerateSeed(hdkeychain.Recommen
wallet/wallet.go:131
Method
Errors
()
electrum/tcp.go:70
Function
FindElectrumServers
FindElectrumServersIRC finds nodes to connect to by connecting to the Freenode #electrum channel.
irc/irc.go:21
Function
Load
Load loads a wallet with the specified path, private key password and seed.
wallet/wallet.go:157
Function
NewNode
NewNode creates a new node.
electrum/network.go:58
Method
Responses
()
electrum/tcp.go:67
Method
SendMessage
(body []byte)
electrum/tcp.go:44
Function
TestWalletCreationAndLoad
(t *testing.T)
wallet/wallet_test.go:13
Function
main
()
example/singlenode.go:9
Function
main
()
example/irc.go:9