Documentation ¶
Index ¶
- Constants
- func CreateBlockmap(txs string, txsighex string) string
- func CreateSigmap(pubkey_string string, txsighex string) string
- func CreateSimpleTxContent(sender string, receiver string, amount int) string
- func MakeKeyword(k string) string
- func MakeMap(m map[string]string) string
- func MakeVector(vectorels []string) string
- func ReadMap(mapstr string) ([]string, []string)
- func ReadMapP(s string) ([]string, []string)
- func ScanScript(inputVector string) (string, string, string)
- func SignMap(keypair crypto.Keypair, msg string) string
- func StringUnWrap(s string) string
- func StringWrap(s string) string
- func TxVector(simpletx string, sigmap string) string
- func VerifySigmap(sigmap string, txmap string) bool
- func VerifyTxScriptSig(v string) bool
- type Scanner
- type Token
Constants ¶
View Source
const STX = "STX"
---- transaction types keyword
Variables ¶
This section is empty.
Functions ¶
func CreateBlockmap ¶
func CreateSigmap ¶
func CreateSimpleTxContent ¶
func MakeKeyword ¶
func MakeVector ¶
func ScanScript ¶
[:type {tx} {sig}] extract the components
func StringUnWrap ¶
func StringWrap ¶
func VerifySigmap ¶
Types ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner represents a lexical scanner.
func NewScanner ¶
NewScanner returns a new instance of Scanner.
Click to show internal directories.
Click to hide internal directories.