mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
19 lines
355 B
C++
19 lines
355 B
C++
#pragma once
|
|
|
|
#include <crypto/crypto.h>
|
|
#include <cryptonote_basic/cryptonote_basic.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
|