aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-06-12 19:47:19 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-06-12 19:47:19 +0100
commitd2f6d2a95a9f6c1632c1ed3b5b5b67a49eb71d6b (patch)
tree2675bdd2c5101fcc85b8503985cd368b6d92c331 /test
parentc92fd638860c5b4477851fb3790bc8068f808d3e (diff)
Use `int32_t` type for most transaction size/weight values
This change gets rid of a few casts and makes the following commit diff smaller.
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/interface_usdt_mempool.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/interface_usdt_mempool.py b/test/functional/interface_usdt_mempool.py
index 542849d558..7f088a3ca8 100755
--- a/test/functional/interface_usdt_mempool.py
+++ b/test/functional/interface_usdt_mempool.py
@@ -35,7 +35,7 @@ MEMPOOL_TRACEPOINTS_PROGRAM = """
struct added_event
{
u8 hash[HASH_LENGTH];
- u64 vsize;
+ s32 vsize;
s64 fee;
};
@@ -43,7 +43,7 @@ struct removed_event
{
u8 hash[HASH_LENGTH];
char reason[MAX_REMOVAL_REASON_LENGTH];
- u64 vsize;
+ s32 vsize;
s64 fee;
u64 entry_time;
};
@@ -57,11 +57,11 @@ struct rejected_event
struct replaced_event
{
u8 replaced_hash[HASH_LENGTH];
- u64 replaced_vsize;
+ s32 replaced_vsize;
s64 replaced_fee;
u64 replaced_entry_time;
u8 replacement_hash[HASH_LENGTH];
- u64 replacement_vsize;
+ s32 replacement_vsize;
s64 replacement_fee;
};