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

Function revocations_received

common/derive_basepoints.h:144–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144static inline u64 revocations_received(const struct shachain *shachain)
145{
146 return (1ULL << SHACHAIN_BITS) - (shachain_next_index(shachain) + 1);
147}
148
149bool shachain_get_secret(const struct shachain *shachain,
150 u64 commit_num,

Callers 3

mainFunction · 0.85
peer_got_revokeFunction · 0.85
peer_start_channeldFunction · 0.85

Calls 1

shachain_next_indexFunction · 0.85

Tested by

no test coverage detected