MCPcopy Create free account
hub / github.com/ElementsProject/lightning / map_replace

Function map_replace

bitcoin/psbt.c:716–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714}
715
716static void map_replace(const tal_t *ctx,
717 struct wally_map *map,
718 const u8 *key,
719 const void *value,
720 size_t value_len)
721{
722 const unsigned char *checked_value = memcheck(value, value_len);
723 tal_wally_start();
724 if (wally_map_replace(map, key, tal_bytelen(key),
725 checked_value, value_len) != WALLY_OK)
726 abort();
727 tal_wally_end(ctx);
728}
729
730void psbt_input_set_unknown(const tal_t *ctx,
731 struct wally_psbt_input *in,

Callers 3

psbt_input_set_unknownFunction · 0.85
psbt_set_lightningFunction · 0.85
psbt_output_set_unknownFunction · 0.85

Calls 4

tal_wally_startFunction · 0.85
tal_bytelenFunction · 0.85
abortFunction · 0.85
tal_wally_endFunction · 0.85

Tested by

no test coverage detected