I've been trying to generate specific change addresses that I see in my watch-only offline wallet so that I can sweep their private keys to get my BCC tokens.
I've tried create_new_address (with a 200 for loop) and I've yet to generate this address. I've tried typing in the public address and it seems to not recognize it.
Any help would be appreciated!
Are you using the xpub?
Try increasing the gap limit
wallet.storage.put('gap_limit',20)
.
It will generate addresses till it sees the one with balance and generate 20 extra from that point. That is if you have no other coins in any other address.
Sorry to respond to my own question, but why can't I type in a public address and get the privkey? Shouldn't I cryptographically verify it?
Then everyone would have access to every single address in the world. The public address is known by everyone once you spend an input from an address. You can get the public key from the private key but not the other way round.