go-libtor icon indicating copy to clipboard operation
go-libtor copied to clipboard

v3 onion addresses

Open 3x1l3l4bs opened this issue 4 years ago • 2 comments

is there any plan on supporting the v3 onion addresses as v2 will be phased out and no longer supported sometime this year ?

(very small issue i know but curiosity has the best of me)

3x1l3l4bs avatar Jan 22 '21 19:01 3x1l3l4bs

You can use Version3 in the ListenConf struct

onion, err := t.Listen(ctx, &tor.ListenConf{RemotePorts: []int{80}, Version3: true})

tiero avatar Feb 15 '21 18:02 tiero

okay thank you awsome

3x1l3l4bs avatar Feb 17 '21 14:02 3x1l3l4bs