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

Function bitcoin_to_base58

bitcoin/base58.c:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

mainFunction · 0.85

Calls 1

to_base58Function · 0.85

Tested by

no test coverage detected