oxen-core/src/wallet3/block.hpp
Thomas Winget ecb62e8fab Wallet3 squashed initial commit
tx scanning for basic transactions working
  - TODO: subadresses.  The scanning code is there, but it does not
  currently know/care about any subaddresses.

daemon comms for basic syncing working

(multi-)wallet sync more or less working properly
  - seem to have a dangling shared_ptr somewhere when removing a wallet from
  daemon comms, so not working perfectly yet.

Lots of TODOs and cleanup needed, as well as further features of course.
2021-11-30 16:31:54 -05:00

20 lines
360 B
C++

#pragma once
#include <cryptonote_basic/cryptonote_basic.h>
#include <crypto/crypto.h>
#include "block_tx.hpp"
namespace wallet
{
struct Block
{
int64_t height;
crypto::hash hash;
int64_t timestamp;
std::vector<BlockTX> transactions;
bool operator< (const Block& other) { return height < other.height;}
};
} // namespace wallet