Bitcoin Forum
June 29, 2024, 01:19:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: recreate Bitcoin  (Read 129 times)
Kostelooscoin (OP)
Member
**
Offline Offline

Activity: 205
Merit: 16


View Profile
January 23, 2021, 06:46:42 PM
 #1

Would it be possible to recreate Bitcoin with a base57 ? if so how ?
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1255


May Bitcoin be touched by his Noodly Appendage


View Profile
January 23, 2021, 08:16:37 PM
Last edit: January 23, 2021, 08:37:44 PM by jackjack
 #2

Base58 isn't used at all in the Bitcoin protocol so there isn't even a problem to use base57 right now
It's only used to represent "redeeming scripts" (not really but close enough) as human readable addresses, which you can write in whatever base you'd like as long as people sending coins your way agree on that format
By the way we now use Bech32 addresses so you'll see less and less base58

https://en.bitcoin.it/wiki/BIP_0173
Quote
Motivation
For most of its history, Bitcoin has relied on base58 addresses with a truncated double-SHA256 checksum. They were part of the original software and their scope was extended in BIP13 for Pay-to-script-hash (P2SH). However, both the character set and the checksum algorithm have limitations:

Base58 needs a lot of space in QR codes, as it cannot use the alphanumeric mode.
The mixed case in base58 makes it inconvenient to reliably write down, type on mobile keyboards, or read out loud.
The double SHA256 checksum is slow and has no error-detection guarantees.
Most of the research on error-detecting codes only applies to character-set sizes that are a prime power, which 58 is not.
Base58 decoding is complicated and relatively slow.

Example of changing the base of a random address:
  - classical base 10, 0123456789:
        03208201879866765930316939846674310105672575856186728793269
  - classical base 16, 0123456789abcdef:
        082d730c471a94aa1ca711a72f5b7ea80faa9d28f97ce44b5
  - Bitcoin base 58, 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz:
        1CvpddsyKHQs5VHuvVBjAHZqc4z2r1FbV6
  - a random base 57 I found on the web, 0123456789abcdefghijkmnopqrstvwxyzABCDEFGHJKLMNPQRSTVWXYZ:
        0kN8M5TDvkniYc4NsY0rdtC2Hy9RVtfaVQ

All these encode the same information

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Kostelooscoin (OP)
Member
**
Offline Offline

Activity: 205
Merit: 16


View Profile
January 23, 2021, 09:04:29 PM
 #3

In the bitcoin source it is only the base58.c file?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!