Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ store_onion
Function
store_onion
tests/test_onion.py:39–41 ·
view source on GitHub ↗
(o)
Source
from the content-addressed store, hash-verified
37
assert(len(out) == 1)
38
39
def
store_onion(o):
40
with
open(tempfile,
'w'
)
as
f:
41
f.write(o)
42
43
store_onion(out[0])
44
Callers
2
test_onion
Function · 0.85
test_rendezvous_onion
Function · 0.85
Calls
1
write
Method · 0.45
Tested by
no test coverage detected