:: Re: [Libbitcoin] libbitcoin on test…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Eric Voskuil
Date:  
À: Police Terror
CC: libbitcoin
Sujet: Re: [Libbitcoin] libbitcoin on testnet
Sorry, I could have included that :/.

e

> On Oct 19, 2016, at 3:36 PM, Police Terror <PoliceTerror@???> wrote:
>
> Thanks, that led me to find the url through this page:
>
> https://github.com/libbitcoin/libbitcoin-explorer/wiki/bx-settings
>
> Eric Voskuil:
>> The AirBitz testnet server is up.
>>
>> e
>>
>>> On Oct 19, 2016, at 1:59 PM, Police Terror <PoliceTerror@???> wrote:
>>>
>>> Does anyone have a testnet server running that I can develop against?
>>>
>>> Thanks.
>>>
>>> Eric Voskuil:
>>>> See: https://github.com/libbitcoin/libbitcoin/pull/552
>>>>
>>>> Use:
>>>>
>>>> hd_private root(seed, hd_private::testnet);
>>>> ec_private private(root.secret(), ec_private:: testnet);
>>>>
>>>> Note that hd_private >> assumes mainnet.
>>>>
>>>> e
>>>>
>>>> -----Original Message-----
>>>> From: Libbitcoin [mailto:libbitcoin-bounces@lists.dyne.org] On Behalf Of Police Terror
>>>> Sent: Wednesday, October 19, 2016 3:09 AM
>>>> To: libbitcoin@???
>>>> Subject: [Libbitcoin] libbitcoin on testnet
>>>>
>>>> Hello,
>>>>
>>>> Are there any testnet blockchain servers I can work with?
>>>>
>>>> Also what's the correct way to generate keys and addresses?
>>>>
>>>> hd_private defines the constant hd_private::mainnet. Why is there not a corresponding one for testnet?
>>>>
>>>> https://github.com/libbitcoin/libbitcoin/blob/master/include/bitcoin/bitcoin/wallet/hd_private.hpp#L40
>>>>
>>>> Lets say I do:
>>>>
>>>> hd_private root(seed, hd_private::mainnet);
>>>>
>>>> ec_private private(root.secret(), ec_private::mainnet);
>>>>
>>>> payment_address address(private);
>>>>
>>>> address.encoded();
>>>>
>>>> How would I change that for testnet?
>>>>
>>>> Thanks
>>>> _______________________________________________
>>>> Libbitcoin mailing list
>>>> Libbitcoin@???
>>>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin
>>>>
>>> _______________________________________________
>>> Libbitcoin mailing list
>>> Libbitcoin@???
>>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin
> _______________________________________________
> Libbitcoin mailing list
> Libbitcoin@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin