161 Commits (25f1db30762f7d46290f45551ad4bf41a5879875)

Author SHA1 Message Date
niftynei bc5a817100 elements: convenience methods for dealing with assets 5 years ago
Rusty Russell 869fa082d4 common/json_tok: expose param_txid. 5 years ago
Rusty Russell 731e037b36 change_amount: routine to determine if change output is worthwhile. 5 years ago
Rusty Russell 31b2865791 common/json_tok: expose routines to parse addresses. 5 years ago
Rusty Russell a9427f1a8d bitcoin/feerate: new exposure for feerate parsing outside lightningd. 5 years ago
niftynei 2e9c387f45 coin_moves: update withdrawal logic to account for 'variable owner' txs 5 years ago
Rusty Russell 93d04d08d0 wire: update to latest version of the spec. 5 years ago
ZmnSCPxj jxPCSnmZ e8936f9d23 common/json.c: Check that JSMN result is well-formed. 5 years ago
niftynei dc868630a8 tx-psbt: pass in the witness script (if known) when adding an input 5 years ago
niftynei 85f395f7d4 utxo: fill in scriptPubkey to NULL 5 years ago
niftynei 559f88faa1 psbt: add serialize to/from wire for psbts 5 years ago
Rusty Russell b920d4d21b wire: make fromwire_fail return non-const, use it more 5 years ago
niftynei fbe50e087a setup: create a common setup which will handle the wally-context 5 years ago
Rusty Russell cfb320c972 wire: move remaining bitcoin functions out to bitcoin/ files. 5 years ago
Rusty Russell 197d1bcef2 wire: move towire/fromwire_short_channel_id out to bitcoin/short_channel_id.c 5 years ago
Rusty Russell 13356b75bf wire: move towire/fromwire_amount from wire/ into common/amount.c 5 years ago
Rusty Russell 4dbfce6057 wire: move towire/fromwire_preimage out to bitcoin/preimage.c. 5 years ago
Rusty Russell 27220646c3 common/wire: move bitcoin-specific marshalling functions into bitcoin files. 5 years ago
Rusty Russell f77d70d546 common/json: move rest of bitcoin/lightning-specific json functions to json_helpers. 5 years ago
Rusty Russell 6635fe12e4 common/test/run-features.c: fix cppcheck 1.90 false positive. 5 years ago
lisa neigut 39d5117210 utxo: add scriptSig + scriptPubkey field 5 years ago
Rusty Russell 3b4a06f52b common: generalize ecdh function. 5 years ago
Rusty Russell cf43e44378 common/features: don't use internal global. 5 years ago
darosior 13fbce90ca common/amount: accept 0msat in parse_amount_sat() 5 years ago
Rusty Russell c95e58ad4b subdaemons: initialize feature routines with explicit feature_set. 5 years ago
Rusty Russell afb76392e4 common/features: use bitmaps internally, have explicit init function. 5 years ago
Rusty Russell 8c984fbf1d common: make sphinx.c use hmac.c. 5 years ago
Christian Decker 59b6159e56 sphinx: Functions to enable RV mode and serialize compressed onions 5 years ago
Rusty Russell 2aad3ffcf8 common: tal_dup_talarr() helper. 5 years ago
Rusty Russell 73ad9b5c0a common: avoid locale dependent strtod(3) 5 years ago
Vasil Dimov 89ceb273f5 wire: remove towire_double() 5 years ago
Christian Decker 9b976da3bc features: Add featurebits_or helper to combine two featurebitstrings 5 years ago
Rusty Russell 5d2fdfe66b common: add check that pico-valued invoices are round numbers. 5 years ago
Rusty Russell 3e9d4de02e common: add testing for proposed bolt11 additional tests. 5 years ago
Rusty Russell d8e933aac7 common: add pico-BTC parsing test from proposed BOLT. 5 years ago
Rusty Russell 7028493d01 common: implement route comparison in run-bolt11. 5 years ago
darosior 3510c29e5d common: move json_stream helpers to common/json 5 years ago
Wladimir J. van der Laan e4c6fd89b7 Add missing `extern` qualifiers for gcc 10 5 years ago
Rusty Russell 8055389b90 common: remove version qualifiers from BOLT11 now changes are merged. 5 years ago
Vasil Dimov 55173a56b7 Use dedicated type for error codes 5 years ago
Rusty Russell 1099f6a5e1 common: use struct onionreply. 5 years ago
Rusty Russell aae5148206 common: remove onionreply type from sphinx.c 5 years ago
Vasil Dimov 2ea91f834c Add the missing space between "if" and "(" 5 years ago
Rusty Russell f7ebbb2ec5 common: make sphinx code ignorant of payload format. 5 years ago
Christian Decker 626675c83c tlv: Migrate tlv serialization to typesafe function 5 years ago
Christian Decker 55d8dcc907 param: Encapsulate hops parsing in a param_hops_array helper 5 years ago
gorazdko a3961c4e06 unit test: run sphinx unit test by default 5 years ago
gorazdko d5a6072642 unit test: fix test vectors in run-sphinx 5 years ago
gorazdko e8ce9d0327 unit test: fix run-sphinx dependencies and update mocks 5 years ago
Rusty Russell 3b37c9d426 common/features: clean up feature handling for different cases. 5 years ago