Documentation ¶
Index ¶
- func CopyBytes(byts []byte) []byte
- func DetermineExternalAddress(listener net.Listener, lAddrIP, lAddrPort string, skipUPNP bool) (string, error)
- func ExpandPath(p string) string
- func FromBytes(bs []byte, tx interface{}) error
- func Hash(o interface{}) []byte
- func HashRipemd160(data []byte) ([]byte, error)
- func HomeDir() string
- func PbMarshal(msg proto.Message) []byte
- func PbUnmarshal(data []byte, msg proto.Message) error
- func ProtocolAndAddress(listenAddr string) (string, string)
- func SigHash(sigObj CanSign) ([]byte, error)
- func SignED25519(tx CanSign, privkey []byte) ([]byte, error)
- func SignSecp256k1(tx CanSign, privkey []byte) ([]byte, error)
- func ToBytes(tx interface{}) ([]byte, error)
- func VeirfyED25519(tx CanSign, sender, sig []byte) error
- func VerifySecp256k1(tx CanSign, sender, sig []byte) error
- type CanSign
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandPath ¶
func HashRipemd160 ¶
func ProtocolAndAddress ¶
func VeirfyED25519 ¶
func VerifySecp256k1 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.