Skip to content

Commit

Permalink
Fix Fees
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Nov 2, 2018
1 parent 5d3083a commit bfa1955
Show file tree
Hide file tree
Showing 3 changed files with 8,186 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/cryptonote_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@
#define COIN ((uint64_t)1000000000000) // pow(10, 12)

#define FEE_PER_KB_OLD ((uint64_t)10000000000) // pow(10, 10)
#define FEE_PER_KB ((uint64_t)25)
#define FEE_PER_BYTE ((uint64_t)3000)
#define FEE_PER_KB ((uint64_t)4000000000)
#define FEE_PER_BYTE ((uint64_t)300000)
#define DYNAMIC_FEE_PER_KB_BASE_FEE ((uint64_t)2000000000) // 2 * pow(10,9)
#define DYNAMIC_FEE_PER_KB_BASE_BLOCK_REWARD ((uint64_t)10000000000000) // 10 * pow(10,12)
#define DYNAMIC_FEE_PER_KB_BASE_FEE_V5 ((uint64_t)2000000000 * (uint64_t)CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V2 / CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V5)
#define DYNAMIC_FEE_PER_KB_BASE_FEE_V5 ((uint64_t)2000000000) // 2 * pow(10,9)
#define DYNAMIC_FEE_REFERENCE_TRANSACTION_WEIGHT ((uint64_t)3000)

#define ORPHANED_BLOCKS_MAX_COUNT 100
Expand Down Expand Up @@ -139,7 +139,7 @@
#define HF_VERSION_MIN_MIXIN_6 7
#define HF_VERSION_MIN_MIXIN_10 8
#define HF_VERSION_ENFORCE_RCT 6
#define HF_VERSION_PER_BYTE_FEE 8
#define HF_VERSION_PER_BYTE_FEE 12 // unnecessary

#define PER_KB_FEE_QUANTIZATION_DECIMALS 8

Expand Down
2 changes: 1 addition & 1 deletion src/gen_multisig/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ add_dependencies(gen_multisig
version)
set_property(TARGET gen_multisig
PROPERTY
OUTPUT_NAME "monero-gen-trusted-multisig")
OUTPUT_NAME "uplexa-gen-trusted-multisig")
install(TARGETS gen_multisig DESTINATION bin)
Loading

0 comments on commit bfa1955

Please sign in to comment.