More debugging

This commit is contained in:
MoneroOcean
2018-03-25 01:06:20 +01:00
parent b59f617502
commit 96995e4643
2 changed files with 14 additions and 0 deletions

View File

@@ -486,7 +486,9 @@ namespace cryptonote
VARINT_FIELD(minor_version)
if (BLOCK_MAJOR_VERSION_1 == major_version)
{
puts("[6");
VARINT_FIELD(timestamp)
puts("]6");
}
FIELD(prev_id)
if (BLOCK_MAJOR_VERSION_1 == major_version)
@@ -507,8 +509,10 @@ namespace cryptonote
FIELDS(*static_cast<block_header *>(this))
if (BLOCK_MAJOR_VERSION_2 <= major_version)
{
puts("[7");
auto sbb = make_serializable_bytecoin_block(*this, false, false);
FIELD_N("parent_block", sbb);
puts("]7");
}
FIELD(miner_tx)
FIELD(tx_hashes)