qt: Network-specific example address #8288

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2016_06_network_based_example_address changing 1 files +19 −1
  1. laanwj commented at 3:34 PM on June 29, 2016: member

    Generate an example address (with invalid CRC) for in the bitcoin address widgets, based on the network prefix, instead of hardcoding a mainnet address.

    Generates:

    • 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L for mainnet (same as now)
    • n2wxQmfexkjwEPgdD6iJA7T7RtzkmHxhFc for testnet

    Later on we may get rid of the example address completely, but that's too late for 0.13, as removing e.g. %1 would change a translation string.

  2. laanwj added the label GUI on Jun 29, 2016
  3. qt: Network-specific example address
    Generate an (invalid) example address for in the bitcoin address
    widgets, based on the network prefix, instead of hardcoding a mainnet
    address.
    
    - `1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L` for mainnet (same as now)
    - `n2wxQmfexkjwEPgdD6iJA7T7RtzkmHxhFc` for testnet
    4f44cb616d
  4. laanwj force-pushed on Jun 29, 2016
  5. MarcoFalke commented at 3:44 PM on June 29, 2016: member

    utACK 4f44cb6

  6. jonasschnelli commented at 6:49 PM on June 29, 2016: contributor

    Yes. Why not.

    utACK 4f44cb616d98a0e17ae0599e5a58f50f3be2910b

  7. MarcoFalke added this to the milestone 0.13.0 on Jun 29, 2016
  8. fanquake commented at 2:41 AM on July 5, 2016: member

    ACK 4f44cb6

    Mainnet mainnet Testnet testnet

  9. in src/qt/guiutil.cpp:None in 4f44cb616d
     106 | @@ -107,6 +107,23 @@ QFont fixedPitchFont()
     107 |  #endif
     108 |  }
     109 |  
     110 | +// Just some dummy data to generate an convincing random-looking (but consistent) address
    


    fanquake commented at 2:42 AM on July 5, 2016:

    nit s/an/a

  10. jonasschnelli merged this on Jul 6, 2016
  11. jonasschnelli closed this on Jul 6, 2016

  12. jonasschnelli referenced this in commit 91abb77970 on Jul 6, 2016
  13. codablock referenced this in commit d81cb91875 on Sep 19, 2017
  14. codablock referenced this in commit 22940f1cc5 on Dec 27, 2017
  15. codablock referenced this in commit 25627e31dd on Dec 28, 2017
  16. andvgal referenced this in commit e892c5ca07 on Jan 6, 2019
  17. DrahtBot locked this on Sep 8, 2021
Labels

Milestone
0.13.0


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me