OlinCoin
Test
wallet.h
1#pragma once
2
3#include "base_tx.h"
4#include "constants.h"
5#include "wallet_pool.h"
6
7#include "mbedtls/ecdsa.h"
8
9typedef struct {
10 size_t num_dests;
11 Output *dests;
12 unsigned long tx_fee;
13 unsigned long in_total; // Used internally
14 unsigned long out_total; // Used internally
15} TxOptions;
16
27mbedtls_ecdsa_context **build_inputs(Transaction *tx, TxOptions *options);
28
38mbedtls_ecdsa_context *build_outputs(Transaction *tx, TxOptions *options);
39
47void sign_tx(Transaction *tx, mbedtls_ecdsa_context **keys);
48
63Transaction *build_tx(TxOptions *options);
Definition: base_tx.h:6
Definition: base_tx.h:19
Definition: wallet.h:9