mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
bitcoin: add tx_feerate() to reverse-calculate feerate a tx paid.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
f2f02f9de6
commit
538854fdce
37 changed files with 238 additions and 9 deletions
|
@ -24,12 +24,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -23,12 +23,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -24,9 +24,15 @@ struct amount_sat amount_asset_to_sat(struct amount_asset *asset UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -25,12 +25,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
11
bitcoin/tx.c
11
bitcoin/tx.c
|
@ -980,3 +980,14 @@ struct amount_sat change_amount(struct amount_sat excess, u32 feerate_perkw,
|
||||||
|
|
||||||
return excess;
|
return excess;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
u32 tx_feerate(const struct bitcoin_tx *tx)
|
||||||
|
{
|
||||||
|
struct amount_sat fee = bitcoin_tx_compute_fee(tx);
|
||||||
|
|
||||||
|
/* Fee should not overflow! */
|
||||||
|
if (!amount_sat_mul(&fee, fee, 1000))
|
||||||
|
abort();
|
||||||
|
|
||||||
|
return amount_sat_div(fee, bitcoin_tx_weight(tx)).satoshis; /* Raw: txfee */
|
||||||
|
}
|
||||||
|
|
|
@ -270,6 +270,12 @@ static inline size_t elements_tx_overhead(const struct chainparams *chainparams,
|
||||||
*/
|
*/
|
||||||
struct amount_sat bitcoin_tx_compute_fee(const struct bitcoin_tx *tx);
|
struct amount_sat bitcoin_tx_compute_fee(const struct bitcoin_tx *tx);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Calculate the feerate for this transaction (in perkw)
|
||||||
|
*/
|
||||||
|
u32 tx_feerate(const struct bitcoin_tx *tx);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calculate the fees for this transaction, given a pre-computed input balance.
|
* Calculate the fees for this transaction, given a pre-computed input balance.
|
||||||
*
|
*
|
||||||
|
|
|
@ -156,8 +156,8 @@ struct bitcoin_tx *commit_tx(const tal_t *ctx,
|
||||||
base_fee = commit_tx_base_fee(feerate_per_kw, untrimmed,
|
base_fee = commit_tx_base_fee(feerate_per_kw, untrimmed,
|
||||||
option_anchor_outputs);
|
option_anchor_outputs);
|
||||||
|
|
||||||
SUPERVERBOSE("# base commitment transaction fee = %"PRIu64"\n",
|
SUPERVERBOSE("# base commitment transaction fee = %"PRIu64" for %zu untrimmed\n",
|
||||||
base_fee.satoshis /* Raw: spec uses raw numbers */);
|
base_fee.satoshis /* Raw: spec uses raw numbers */, untrimmed);
|
||||||
|
|
||||||
/* BOLT #3:
|
/* BOLT #3:
|
||||||
* If `option_anchors` applies to the commitment
|
* If `option_anchors` applies to the commitment
|
||||||
|
|
|
@ -380,7 +380,8 @@ static void report(struct bitcoin_tx *tx,
|
||||||
const struct pubkey *remote_revocation_key,
|
const struct pubkey *remote_revocation_key,
|
||||||
u32 feerate_per_kw,
|
u32 feerate_per_kw,
|
||||||
bool option_anchor_outputs,
|
bool option_anchor_outputs,
|
||||||
const struct htlc **htlc_map)
|
const struct htlc **htlc_map,
|
||||||
|
size_t total_htlcs)
|
||||||
{
|
{
|
||||||
char *txhex;
|
char *txhex;
|
||||||
struct bitcoin_signature localsig, remotesig;
|
struct bitcoin_signature localsig, remotesig;
|
||||||
|
@ -410,6 +411,13 @@ static void report(struct bitcoin_tx *tx,
|
||||||
txhex = tal_hex(tmpctx, linearize_tx(tx, tx));
|
txhex = tal_hex(tmpctx, linearize_tx(tx, tx));
|
||||||
printf("output commit_tx: %s\n", txhex);
|
printf("output commit_tx: %s\n", txhex);
|
||||||
|
|
||||||
|
/* Now signatures are attached, this should be correct. But note
|
||||||
|
* that spec uses worst-case weight, so we will be slightly higher. */
|
||||||
|
assert(tx_feerate(tx) >= feerate_per_kw);
|
||||||
|
/* Of course, trimmed htlcs magnify this! */
|
||||||
|
if (tx->wtx->num_outputs == total_htlcs + 2)
|
||||||
|
assert(tx_feerate(tx) <= feerate_per_kw * 1.01);
|
||||||
|
|
||||||
report_htlcs(tx, htlc_map, to_self_delay,
|
report_htlcs(tx, htlc_map, to_self_delay,
|
||||||
local_htlcsecretkey, localkey, local_htlckey,
|
local_htlcsecretkey, localkey, local_htlckey,
|
||||||
local_delayedkey,
|
local_delayedkey,
|
||||||
|
@ -837,7 +845,8 @@ int main(int argc, const char *argv[])
|
||||||
&remote_revocation_key,
|
&remote_revocation_key,
|
||||||
feerate_per_kw,
|
feerate_per_kw,
|
||||||
option_anchor_outputs,
|
option_anchor_outputs,
|
||||||
htlc_map);
|
htlc_map,
|
||||||
|
0);
|
||||||
|
|
||||||
/* BOLT #3:
|
/* BOLT #3:
|
||||||
*
|
*
|
||||||
|
@ -903,7 +912,8 @@ int main(int argc, const char *argv[])
|
||||||
&remote_revocation_key,
|
&remote_revocation_key,
|
||||||
feerate_per_kw,
|
feerate_per_kw,
|
||||||
option_anchor_outputs,
|
option_anchor_outputs,
|
||||||
htlc_map);
|
htlc_map,
|
||||||
|
tal_count(htlcs));
|
||||||
|
|
||||||
do {
|
do {
|
||||||
struct bitcoin_tx *newtx;
|
struct bitcoin_tx *newtx;
|
||||||
|
@ -1000,7 +1010,8 @@ int main(int argc, const char *argv[])
|
||||||
&remote_revocation_key,
|
&remote_revocation_key,
|
||||||
feerate_per_kw-1,
|
feerate_per_kw-1,
|
||||||
option_anchor_outputs,
|
option_anchor_outputs,
|
||||||
htlc_map);
|
htlc_map,
|
||||||
|
tal_count(htlcs));
|
||||||
|
|
||||||
printf("\n"
|
printf("\n"
|
||||||
"name: commitment tx with %s untrimmed (minimum feerate)\n"
|
"name: commitment tx with %s untrimmed (minimum feerate)\n"
|
||||||
|
@ -1049,7 +1060,8 @@ int main(int argc, const char *argv[])
|
||||||
&remote_revocation_key,
|
&remote_revocation_key,
|
||||||
feerate_per_kw,
|
feerate_per_kw,
|
||||||
option_anchor_outputs,
|
option_anchor_outputs,
|
||||||
htlc_map);
|
htlc_map,
|
||||||
|
tal_count(htlcs));
|
||||||
|
|
||||||
assert(newtx->wtx->num_outputs != tx->wtx->num_outputs);
|
assert(newtx->wtx->num_outputs != tx->wtx->num_outputs);
|
||||||
|
|
||||||
|
@ -1124,7 +1136,8 @@ int main(int argc, const char *argv[])
|
||||||
&remote_revocation_key,
|
&remote_revocation_key,
|
||||||
feerate_per_kw,
|
feerate_per_kw,
|
||||||
option_anchor_outputs,
|
option_anchor_outputs,
|
||||||
htlc_map);
|
htlc_map,
|
||||||
|
tal_count(htlcs));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1195,7 +1208,8 @@ int main(int argc, const char *argv[])
|
||||||
&remote_revocation_key,
|
&remote_revocation_key,
|
||||||
feerate_per_kw,
|
feerate_per_kw,
|
||||||
option_anchor_outputs,
|
option_anchor_outputs,
|
||||||
htlc_map);
|
htlc_map,
|
||||||
|
tal_count(htlcs));
|
||||||
common_shutdown();
|
common_shutdown();
|
||||||
|
|
||||||
/* FIXME: Do BOLT comparison! */
|
/* FIXME: Do BOLT comparison! */
|
||||||
|
|
|
@ -45,12 +45,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -45,12 +45,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -48,12 +48,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -24,12 +24,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -26,12 +26,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -26,12 +26,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -36,12 +36,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -24,12 +24,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -22,12 +22,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -20,12 +20,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -26,12 +26,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -19,12 +19,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -20,12 +20,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -21,12 +21,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -21,12 +21,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -20,12 +20,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -26,12 +26,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -24,12 +24,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -42,12 +42,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -21,12 +21,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -18,12 +18,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -32,12 +32,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -20,12 +20,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -32,12 +32,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -20,12 +20,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -28,12 +28,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -27,12 +27,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -28,12 +28,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
|
@ -63,12 +63,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED)
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
struct amount_sat b UNNEEDED)
|
struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_add called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_div */
|
||||||
|
struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_div called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_eq */
|
/* Generated stub for amount_sat_eq */
|
||||||
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_eq called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_greater_eq */
|
/* Generated stub for amount_sat_greater_eq */
|
||||||
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED)
|
||||||
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
{ fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); }
|
||||||
|
/* Generated stub for amount_sat_mul */
|
||||||
|
bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED)
|
||||||
|
{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); }
|
||||||
/* Generated stub for amount_sat_sub */
|
/* Generated stub for amount_sat_sub */
|
||||||
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
bool amount_sat_sub(struct amount_sat *val UNNEEDED,
|
||||||
struct amount_sat a UNNEEDED,
|
struct amount_sat a UNNEEDED,
|
||||||
|
|
Loading…
Add table
Reference in a new issue