Copied TCP impl from other project, basic Block implementation, randomx pow, signing via secp256k1
This commit is contained in:
11
include/balance_sheet.h
Normal file
11
include/balance_sheet.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef BALANCE_SHEET_H
|
||||
#define BALANCE_SHEET_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct {
|
||||
uint8_t address[32]; // For now just the SHA-256 of the public key; allows representation in different encodings (base58, bech32, etc) without changing the underlying data structure
|
||||
uint64_t balance;
|
||||
} balance_sheet_entry_t;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user