mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
ecb62e8fab
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.
20 lines
360 B
C++
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
|