Skip to content

Testnet function incompatible with bitcoin faucets #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
combwattle opened this issue Feb 17, 2014 · 1 comment
Open

Testnet function incompatible with bitcoin faucets #12

combwattle opened this issue Feb 17, 2014 · 1 comment

Comments

@combwattle
Copy link

Hi all,

I tried ./bitc -T and obtained a test address. I tried to acquire test bitcoins from a few faucet sites below, and all of them failed saying that the test address is not valid. I assume bitc accesses the original Testnet instead of the latest Testnet3. Is there a plan to address this problem?

http://testnet.bitcoin.peercoinfaucet.com/
http://faucet.xeno-genesis.com/
http://kuttler.eu/bitcoin/faucet/

@mx4
Copy link
Owner

mx4 commented Feb 17, 2014

Yes, it's a known issue. I just implemented the plumbing required to connect to the testnet network, but addresses haven't yet been taken care of. The testnet addresses use a different prefix, and some adjustments need to be made when testnet is in use.

Cf enum key_address in base58.h:
PUBKEY_ADDRESS_TEST = 111,
SCRIPT_ADDRESS_TEST = 196,
PRIVKEY_ADDRESS_TEST = 239,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants