BlockchainCommons / Learning-Bitcoin-from-the-Command-Line

A complete course for learning Bitcoin programming and usage from the command
3.12k stars 754 forks source link

Adding 'verbose=true' statement #549

Closed zerotobtc closed 2 years ago

zerotobtc commented 2 years ago

I suggest to also add the 'verbose=true' statement to the inspection of the legacy address in line 209. This way, even someone who does not remember what a legacy address in the testnet looks like, will get the additional information of "type": "pubkeyhash" so it's easier to see that it is indeed a legacy address and not segwit.

shannona commented 2 years ago

That might be a good idea, if the verbose isn't too extensive of output, but we'd need to redo the whole example, showing the new output.