Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default relay fees #182

Merged
merged 1 commit into from
Apr 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions wallet/createtx.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,20 +116,20 @@ func FeeForSize(incr dcrutil.Amount, sz int) dcrutil.Amount {
return feeForSize(incr, sz)
}

// FeeIncrementMainnet is the default minimum transation fee (0.05 coin,
// FeeIncrementMainnet is the default minimum transation fees per KB (0.01 coin,
// measured in atoms) added to transactions requiring a fee for MainNet.
const FeeIncrementMainnet = 5e6
const FeeIncrementMainnet = 1e6

// FeeIncrementTestnet is the default minimum transation fee (0.00001 coin,
// measured in atoms) added to transactions requiring a fee for TestNet.
// FeeIncrementTestnet is the default minimum transation fees per KB (0.00001
// coin, measured in atoms) added to transactions requiring a fee for TestNet.
const FeeIncrementTestnet = 1e3

// TicketFeeIncrement is the default minimum stake transation fee (0.05 coin,
// measured in atoms).
const TicketFeeIncrement = 5e6
// TicketFeeIncrement is the default minimum stake transation fees per KB (0.01
// coin, measured in atoms).
const TicketFeeIncrement = 1e6

// EstMaxTicketFeeAmount is the estimated max ticket fee to be used for size
// calculation for eligible utxos for ticket purchasing
// calculation for eligible utxos for ticket purchasing.
const EstMaxTicketFeeAmount = 0.1 * 1e8

// --------------------------------------------------------------------------------
Expand Down