OlinCoin
Test
src
includes
txs
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
9
typedef
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
27
mbedtls_ecdsa_context **build_inputs(
Transaction
*tx,
TxOptions
*options);
28
38
mbedtls_ecdsa_context *build_outputs(
Transaction
*tx,
TxOptions
*options);
39
47
void
sign_tx(
Transaction
*tx, mbedtls_ecdsa_context **keys);
48
63
Transaction
*build_tx(
TxOptions
*options);
Output
Definition:
base_tx.h:6
Transaction
Definition:
base_tx.h:19
TxOptions
Definition:
wallet.h:9
Generated by
1.9.3