Genesis blocks with timestamp 0
This commit is contained in:
parent
bdced6bb38
commit
084bfaffcf
2 changed files with 5 additions and 5 deletions
|
|
@ -4548,7 +4548,7 @@ void nano::json_handler::wallet_frontiers ()
|
|||
|
||||
void nano::json_handler::wallet_history ()
|
||||
{
|
||||
uint64_t modified_since (1);
|
||||
uint64_t modified_since (0);
|
||||
boost::optional<std::string> modified_since_text (request.get_optional<std::string> ("modified_since"));
|
||||
if (modified_since_text.is_initialized ())
|
||||
{
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ nano::ledger_constants::ledger_constants (nano::work_thresholds & work, nano::ne
|
|||
/* successor (block_hash) */ nano::block_hash{ 0 },
|
||||
/* balance (amount) */ nano::amount{ std::numeric_limits<nano::uint128_t>::max () },
|
||||
/* height */ uint64_t{ 1 },
|
||||
/* local_timestamp */ nano::seconds_since_epoch (),
|
||||
/* local_timestamp */ 0,
|
||||
/* epoch */ nano::epoch::epoch_0,
|
||||
/* is_send */ false,
|
||||
/* is_receive */ false,
|
||||
|
|
@ -155,7 +155,7 @@ nano::ledger_constants::ledger_constants (nano::work_thresholds & work, nano::ne
|
|||
/* successor (block_hash) */ nano::block_hash{ 0 },
|
||||
/* balance (amount) */ nano::amount{ std::numeric_limits<nano::uint128_t>::max () },
|
||||
/* height */ uint64_t{ 1 },
|
||||
/* local_timestamp */ nano::seconds_since_epoch (),
|
||||
/* local_timestamp */ 0,
|
||||
/* epoch */ nano::epoch::epoch_0,
|
||||
/* is_send */ false,
|
||||
/* is_receive */ false,
|
||||
|
|
@ -167,7 +167,7 @@ nano::ledger_constants::ledger_constants (nano::work_thresholds & work, nano::ne
|
|||
/* successor (block_hash) */ nano::block_hash{ 0 },
|
||||
/* balance (amount) */ nano::amount{ std::numeric_limits<nano::uint128_t>::max () },
|
||||
/* height */ uint64_t{ 1 },
|
||||
/* local_timestamp */ nano::seconds_since_epoch (),
|
||||
/* local_timestamp */ 0,
|
||||
/* epoch */ nano::epoch::epoch_0,
|
||||
/* is_send */ false,
|
||||
/* is_receive */ false,
|
||||
|
|
@ -179,7 +179,7 @@ nano::ledger_constants::ledger_constants (nano::work_thresholds & work, nano::ne
|
|||
/* successor (block_hash) */ nano::block_hash{ 0 },
|
||||
/* balance (amount) */ nano::amount{ std::numeric_limits<nano::uint128_t>::max () },
|
||||
/* height */ uint64_t{ 1 },
|
||||
/* local_timestamp */ nano::seconds_since_epoch (),
|
||||
/* local_timestamp */ 0,
|
||||
/* epoch */ nano::epoch::epoch_0,
|
||||
/* is_send */ false,
|
||||
/* is_receive */ false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue