Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultFee = 1 // 0.00001000 FIRO/kB DefaultFeeRateLimit = 20 // 0.00020000 FIRO/kB )
Variables ¶
View Source
var ( UnitInfo = dex.UnitInfo{ AtomicUnit: "Sats", Conventional: dex.Denomination{ Unit: "FIRO", ConversionFactor: 1e8, }, Alternatives: []dex.Denomination{ { Unit: "mFIRO", ConversionFactor: 1e5, }, { Unit: "µFIRO", ConversionFactor: 1e2, }, }, FeeRateDenom: "B", } // MainNetParams are the clone parameters for mainnet. MainNetParams = btc.ReadCloneParams(&btc.CloneParams{ Name: "mainnet", PubKeyHashAddrID: 0x52, ScriptHashAddrID: 0x07, Bech32HRPSegwit: "", CoinbaseMaturity: 100, Net: 0xe3d9fef1, GenesisHash: mustHash("4381deb85b1b2c9843c222944b616d997516dcbd6a964e1eaf0def0830695233"), }) // TestNetParams are the clone parameters for testnet. TestNetParams = btc.ReadCloneParams(&btc.CloneParams{ Name: "testnet3", PubKeyHashAddrID: 0x41, ScriptHashAddrID: 0xb2, Bech32HRPSegwit: "", CoinbaseMaturity: 100, Net: 0xcffcbeea, GenesisHash: mustHash("aa22adcc12becaf436027ffe62a8fb21b234c58c23865291e5dc52cf53f64fca"), }) // RegressionNetParams are the clone parameters for simnet. RegressionNetParams = btc.ReadCloneParams(&btc.CloneParams{ Name: "regtest", PubKeyHashAddrID: 0x41, ScriptHashAddrID: 0xb2, Bech32HRPSegwit: "", CoinbaseMaturity: 100, Net: 0x7da7d6db, GenesisHash: mustHash("a42b98f04cc2916e8adfb5d9db8a2227c4629bc205748ed2f33180b636ee885b"), }) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.