Documentation ¶
Index ¶
- Constants
- Variables
- func AddressToPubKeyHex(addr string, parser bchain.BlockChainParser) string
- func GetTestUTXOBlock1(parser bchain.BlockChainParser) *bchain.Block
- func GetTestUTXOBlock2(parser bchain.BlockChainParser) *bchain.Block
- func NewFakeBlockChain(parser bchain.BlockChainParser) (*fakeBlockChain, error)
Constants ¶
View Source
const ( TxidB1T1 = "00b2c06055e5e90e9c82bd4181fde310104391a7fa4f289b1704e5d90caa3840" TxidB1T2 = "effd9ef509383d536b1c8af5bf434c8efbf521a4f2befd4022bbd68694b4ac75" TxidB2T1 = "7c3be24063f268aaa1ed81b64776798f56088757641a34fb156c4f51ed2e9d25" TxidB2T2 = "3d90d15ed026dc45e19ffb52875ed18fa9e8012ad123d7f7212176e2b0ebdb71" TxidB2T3 = "05e2e48aeabdd9b75def7b48d756ba304713c2aba7b522bf9dbc893fc4231b07" TxidB2T4 = "fdd824a780cbb718eeb766eb05d83fdefc793a27082cd5e67f856d69798cf7db" Addr1 = "mfcWp7DB6NuaZsExybTTXpVgWz559Np4Ti" // 76a914010d39800f86122416e28f485029acf77507169288ac Addr2 = "mtGXQvBowMkBpnhLckhxhbwYK44Gs9eEtz" // 76a9148bdf0aa3c567aa5975c2e61321b8bebbe7293df688ac Addr3 = "mv9uLThosiEnGRbVPS7Vhyw6VssbVRsiAw" // 76a914a08eae93007f22668ab5e4a9c83c8cd1c325e3e088ac Addr4 = "2Mz1CYoppGGsLNUGF2YDhTif6J661JitALS" // a9144a21db08fb6882cb152e1ff06780a430740f770487 Addr5 = "2NEVv9LJmAnY99W1pFoc5UJjVdypBqdnvu1" // a914e921fc4912a315078f370d959f2c4f7b6d2a683c87 Addr6 = "mzB8cYrfRwFRFAGTDzV8LkUQy5BQicxGhX" // 76a914ccaaaf374e1b06cb83118453d102587b4273d09588ac Addr7 = "mtR97eM2HPWVM6c8FGLGcukgaHHQv7THoL" // 76a9148d802c045445df49613f6a70ddd2e48526f3701f88ac Addr8 = "mwwoKQE5Lb1G4picHSHDQKg8jw424PF9SC" // 76a914b434eb0c1a3b7a02e8a29cc616e791ef1e0bf51f88ac Addr9 = "mmJx9Y8ayz9h14yd9fgCW1bUKoEpkBAquP" // 76a9143f8ba3fda3ba7b69f5818086e12223c6dd25e3c888ac AddrA = "mzVznVsCHkVHX9UN8WPFASWUUHtxnNn4Jj" // 76a914d03c0d863d189b23b061a95ad32940b65837609f88ac )
Variables ¶
View Source
var ( SatZero = big.NewInt(0) SatB1T1A1 = big.NewInt(100000000) SatB1T1A2 = big.NewInt(12345) SatB1T2A3 = big.NewInt(1234567890123) SatB1T2A4 = big.NewInt(1) SatB1T2A5 = big.NewInt(9876) SatB2T1A6 = big.NewInt(317283951061) SatB2T1A7 = big.NewInt(917283951061) SatB2T2A8 = big.NewInt(118641975500) SatB2T2A9 = big.NewInt(198641975500) SatB2T3A5 = big.NewInt(9000) SatB2T4AA = big.NewInt(1360030331) )
Functions ¶
func AddressToPubKeyHex ¶
func AddressToPubKeyHex(addr string, parser bchain.BlockChainParser) string
func GetTestUTXOBlock1 ¶
func GetTestUTXOBlock1(parser bchain.BlockChainParser) *bchain.Block
func GetTestUTXOBlock2 ¶
func GetTestUTXOBlock2(parser bchain.BlockChainParser) *bchain.Block
func NewFakeBlockChain ¶
func NewFakeBlockChain(parser bchain.BlockChainParser) (*fakeBlockChain, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.