Bitcoin full node and query server

Sep 22, 2020

View in context in the libbitcoin Slack #general mirror.

A
Artem14:37
@neillm Hi, i got a problem how to generate key and address for testnet node? auto prv = hd_private(root_key, hd_private::testnet);//this works well and private key is correct and succed imported to node auto pub = prv.to_public();//guess this is incorrect because it didnt give me valid testnet pub key return ec_public(pub.point()).to_payment_address().encoded();//this is address formating
(edited)