BlockTemplate: wait for 10 seconds before including new transactions

This commit is contained in:
SChernykh
2021-09-14 12:54:42 +02:00
parent 94adce4045
commit 8aa9e54dc4
5 changed files with 45 additions and 13 deletions
+2 -1
View File
@@ -226,12 +226,13 @@ difficulty_type operator+(const difficulty_type& a, const difficulty_type& b);
struct TxMempoolData
{
FORCEINLINE TxMempoolData() : id(), blob_size(0), weight(0), fee(0) {}
FORCEINLINE TxMempoolData() : id(), blob_size(0), weight(0), fee(0), time_received(0) {}
hash id;
uint64_t blob_size;
uint64_t weight;
uint64_t fee;
time_t time_received;
};
struct MinerData