Skip to content

Commit

Permalink
Adjusted fees to 0.0001 per kb and applied patch for using with Moner…
Browse files Browse the repository at this point in the history
…oExamples Onion Block Explorer
  • Loading branch information
Gingeropolous committed Sep 5, 2016
1 parent afe3cce commit 421bd48
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptonote_config.h
Expand Up @@ -62,7 +62,7 @@
// COIN - number of smallest units in one coin
#define COIN ((uint64_t)1000000000000) // pow(10, 12)

#define FEE_PER_KB ((uint64_t)10000000000) // pow(10, 10)
#define FEE_PER_KB ((uint64_t)100000000) // pow(10, 10)

#define ORPHANED_BLOCKS_MAX_COUNT 100

Expand Down
1 change: 1 addition & 0 deletions src/cryptonote_core/tx_pool.cpp
Expand Up @@ -420,6 +420,7 @@ namespace cryptonote
txi.last_failed_height = txd.last_failed_height;
txi.last_failed_id_hash = epee::string_tools::pod_to_hex(txd.last_failed_id);
txi.receive_time = txd.receive_time;
txi.tx_blob = tx_to_blob(txd.tx);
tx_infos.push_back(txi);
}

Expand Down
2 changes: 2 additions & 0 deletions src/rpc/core_rpc_server_commands_defs.h
Expand Up @@ -855,6 +855,7 @@ namespace cryptonote
uint64_t last_failed_height;
std::string last_failed_id_hash;
uint64_t receive_time;
blobdata tx_blob;

BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(id_hash)
Expand All @@ -867,6 +868,7 @@ namespace cryptonote
KV_SERIALIZE(last_failed_height)
KV_SERIALIZE(last_failed_id_hash)
KV_SERIALIZE(receive_time)
KV_SERIALIZE(tx_blob)
END_KV_SERIALIZE_MAP()
};

Expand Down

0 comments on commit 421bd48

Please sign in to comment.