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

Function bitcoin_to_base58

bitcoin/base58.c:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34char *bitcoin_to_base58(const tal_t *ctx, const struct chainparams *chainparams,
35 const struct bitcoin_address *addr)
36{
37 return to_base58(ctx, chainparams->p2pkh_version, &addr->addr);
38}
39
40char *p2sh_to_base58(const tal_t *ctx, const struct chainparams *chainparams,
41 const struct ripemd160 *p2sh)

Callers 3

json_add_fallbackFunction · 0.85
mainFunction · 0.85

Calls 1

to_base58Function · 0.85

Tested by

no test coverage detected