1.6 KiB
1.6 KiB
1 | # Shouldn't happen |
---|---|
2 | closing_bad_command,0x8000 |
3 | # Also shouldn't happen |
4 | closing_gossip_failed,0x8001 |
5 | closing_internal_error,0x8003 |
6 | # These are due to peer. |
7 | closing_peer_write_failed,0x8010 |
8 | closing_peer_read_failed,0x8011 |
9 | closing_peer_bad_message,0x8012 |
10 | closing_peer_bad_message,,len,u16 |
11 | closing_peer_bad_message,,msg,len*u8 |
12 | closing_negotiation_error,0x8013 |
13 | closing_negotiation_error,,len,u16 |
14 | closing_negotiation_error,,msg,len*u8 |
15 | #include <common/cryptomsg.h> |
16 | #include <common/htlc_wire.h> |
17 | # Begin! (passes peer fd, gossipd-client fd) |
18 | closing_init,1 |
19 | closing_init,,crypto_state,struct crypto_state |
20 | closing_init,,seed,struct privkey |
21 | closing_init,,funding_txid,struct sha256_double |
22 | closing_init,,funding_txout,u16 |
23 | closing_init,,funding_satoshi,u64 |
24 | closing_init,,remote_fundingkey,struct pubkey |
25 | closing_init,,funder,enum side |
26 | closing_init,,local_msatoshi,u64 |
27 | closing_init,,remote_msatoshi,u64 |
28 | closing_init,,our_dust_limit,u64 |
29 | closing_init,,min_fee_satoshi,u64 |
30 | closing_init,,max_fee_satoshi,u64 |
31 | closing_init,,initial_fee_satoshi,u64 |
32 | closing_init,,local_scriptpubkey_len,u16 |
33 | closing_init,,local_scriptpubkey,local_scriptpubkey_len*u8 |
34 | closing_init,,remote_scriptpubkey_len,u16 |
35 | closing_init,,remote_scriptpubkey,remote_scriptpubkey_len*u8 |
36 | closing_init,,reconnected,bool |
37 | closing_init,,next_index_local,u64 |
38 | closing_init,,next_index_remote,u64 |
39 | closing_init,,revocations_received,u64 |
40 | # We received an offer, save signature. |
41 | closing_received_signature,2 |
42 | closing_received_signature,,signature,secp256k1_ecdsa_signature |
43 | closing_received_signature,,tx,struct bitcoin_tx |
44 | closing_received_signature_reply,102 |
45 | # Negotiations complete, we're exiting. |
46 | closing_complete,4 |