mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Review changes and operator -> coordinator
This commit is contained in:
@@ -12,25 +12,8 @@ type RecommendedFee struct {
|
||||
CreatesAccountAndRegister float64
|
||||
}
|
||||
|
||||
// FeeSelector is used to select a percentage from the FeePlan. Max value is 16
|
||||
// FeeSelector is used to select a percentage from the FeePlan.
|
||||
type FeeSelector uint8
|
||||
|
||||
// FeePlan represents the fee model, a position in the array indicates the percentage of tokens paid in concept of fee for a transaction
|
||||
var FeePlan = [16]float64{
|
||||
0,
|
||||
.001,
|
||||
.002,
|
||||
.005,
|
||||
.01,
|
||||
.02,
|
||||
.05,
|
||||
.1,
|
||||
.2,
|
||||
.5,
|
||||
1,
|
||||
2,
|
||||
5,
|
||||
10,
|
||||
20,
|
||||
50,
|
||||
}
|
||||
var FeePlan = [256]float64{}
|
||||
|
||||
Reference in New Issue
Block a user