github.com/mit-dci/lit@v0.0.0-20221102210550-8c3d3b49f2ce/consts/consts.go (about) 1 package consts 2 3 // commonly used constants that can be used anywhere, without ambiguity 4 const ( 5 ChannelTimeout = 60 // channel operation timeout in seconds before failing the channel 6 ChannelAdvTimeout = 60 // max allowed seconds between channel advertisements before deletion 7 MaxChanCapacity = int64(100000000) // Maximum Channel Capacity (at 1 coin now) 8 MinChanCapacity = int64(1000000) // Minimum Channel Capacity 9 SafeFee = int64(50000) // safeFee while initializing a chan 10 MaxKeys = uint32(1 << 20) // max number of keys lit can store (could be infinite, still) 11 MaxTxCount = int64(10000) // max tx's associated with an address 12 DustCutoff = int64(20000) // below this, give to miners 13 MinOutput = 100000 // minOutput is the minimum output amt, post fee. This (plus fees) is also the minimum channel balance 14 MinSendAmt = 10000 // minimum amount that can be sent through a chan 15 MaxTxLen = 100000 // maximum number of tx's that can be ingested at once 16 JusticeFee = int64(5000) // if someone spends the com tx, pay a high justice fee 17 BitcoinRegtestBHeight = 120 // height at which you want regtest sync to start 18 BitcoinTestnet3BHeight = 1256000 // height at which testnet3 sync starts 19 VertcoinTestnetBHeight = 25000 // height at which vertcoin testnet sync starts 20 DualFundFee = 50 21 MaxSendAmt = 1 << 30 // maximum amount that can be sent through a chan 22 MaxKeyLimit = 1 << 30 // maximum number of keys that lit can store 23 JusticeTxBump = 100 // fix justicetx fee 10 times the normal fee 24 QcStateFee = 10 // fixqcstatefee 25 DefaultLockTime = 500 //default lock time 26 DlcSettlementTxFee = 1000 27 )