Extract data needed by plugin from ethUstream.h

This commit is contained in:
Francois Beutin
2024-01-15 17:35:53 +01:00
parent 6430c8f463
commit 4d04d5113d
6 changed files with 52 additions and 29 deletions

View File

@@ -22,6 +22,10 @@
#include "uint256.h"
#define ADDRESS_LENGTH 20
#define INT128_LENGTH 16
#define INT256_LENGTH 32
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
void array_hexstr(char* strbuf, const void* bin, unsigned int len);