Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ _ser_bytes
Function
_ser_bytes
tests/test_opening.py:77–78 ·
view source on GitHub ↗
(b)
Source
from the content-addressed store, hash-verified
75
76
77
def
_ser_bytes(b):
78
return
_ser_varint(len(b)) + b
79
80
81
def
derive_simple_pubkey(basepoint, per_commitment_point):
Callers
1
test_zero_length_upfront_shutdown_script
Function · 0.85
Calls
1
_ser_varint
Function · 0.85
Tested by
no test coverage detected