monero/src/cryptonote_core
Jean Pierre Dudey 9f9e095a8c
Use genesis_tx parameter in generate_genesis_block. #3261
* src/cryptnote_config.h: The constant `config::testnet::GENESIS_TX` was
changed to be the same as `config::GENESIS_TX` (the mainnet's transaction)
because the mainnet's transaction was being used for both networks.

* src/cryptonote_core/cryptonote_tx_utils.cpp: The `generate_genesis_block` function
was ignoring the  `genesis_tx` parameter, and instead it was using the `config::GENESIS_TX`
constant. That's why the testnet genesis transaction was changed. Also five lines of unused
code were removed.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2018-03-05 11:19:01 +09:00
..
blockchain_storage_boost_serialization.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
blockchain.cpp Merge pull request #3226 2018-02-16 14:26:58 +01:00
blockchain.h Merge pull request #3144 2018-01-27 17:25:40 -08:00
CMakeLists.txt Code modifications to integrate Ledger HW device into monero-wallet-cli. 2018-03-04 12:54:53 +01:00
cryptonote_core.cpp cryptonote_core: change wording of fork warning message 2018-02-18 23:44:59 +00:00
cryptonote_core.h options: remove testnet-* options 2018-02-16 22:32:01 +02:00
cryptonote_tx_utils.cpp Use genesis_tx parameter in generate_genesis_block. #3261 2018-03-05 11:19:01 +09:00
cryptonote_tx_utils.h cryptonote_tx_utils: fixed logic bug in get_destination_view_key_pub 2018-01-29 17:05:07 +09:00
tx_pool.cpp txpool: Don't bail out when blob_size == tx_size_limit 2018-02-16 16:27:08 +01:00
tx_pool.h tx_pool: add a max pool size, settable with --max-txpool-size 2018-02-07 13:42:12 +00:00