decred.org/dcrdex@v1.0.5/client/asset/dgb/regnet_test.go (about) 1 //go:build harness 2 3 package dgb 4 5 // Regnet tests expect the DGB test harness to be running. 6 // 7 // Sim harness info: 8 // The harness has three wallets, alpha, beta, and gamma. 9 // All three wallets have confirmed UTXOs. 10 // The beta wallet has only coinbase outputs. 11 // The alpha wallet has coinbase outputs too, but has sent some to the gamma 12 // wallet, so also has some change outputs. 13 // The gamma wallet has regular transaction outputs of varying size and 14 // confirmation count. Value:Confirmations = 15 // 10:8, 18:7, 5:6, 7:5, 1:4, 15:3, 3:2, 25:1 16 17 import ( 18 "testing" 19 20 "decred.org/dcrdex/client/asset/btc/livetest" 21 "decred.org/dcrdex/dex" 22 ) 23 24 var ( 25 tLotSize uint64 = 1e6 26 tDGB = &dex.Asset{ 27 ID: 20, 28 Symbol: "dgb", 29 Version: version, 30 MaxFeeRate: 100, 31 SwapConf: 1, 32 } 33 ) 34 35 func TestWallet(t *testing.T) { 36 livetest.Run(t, &livetest.Config{ 37 NewWallet: NewWallet, 38 LotSize: tLotSize, 39 Asset: tDGB, 40 }) 41 }