Added hidden service intro message and started test for it

This commit is contained in:
херетик
2023-02-23 11:23:36 +00:00
parent e07c495d01
commit 89f45baa0a
12 changed files with 137 additions and 29 deletions

View File

@@ -113,9 +113,10 @@ func (o Skins) GetBalance(id, confID nonce.ID, prvs [3]*prv.Key,
})
}
func (o Skins) HiddenService(addr *pub.Key, prvs [3]*prv.Key,
func (o Skins) HiddenService(id nonce.ID, addr *pub.Key, prvs [3]*prv.Key,
pubs [3]*pub.Key, nonces [3]nonce.IV) Skins {
return append(o, &hiddenservice.Layer{
ID: id,
Identity: addr,
Ciphers: GenCiphers(prvs, pubs),
Nonces: nonces,