Browse Source
These are useful for the `createonion` JSON-RPC we're going to build next. The secret is used for the optional `session_key` while the hex-encoded binary is used for the `assocdata` field to which the onion commits. The latter does not have a constant size, hence the raw binary conversion.travis-debug
Christian Decker
5 years ago
3 changed files with 38 additions and 17 deletions
Loading…
Reference in new issue