Aareon / ChickenTicket

Pure Python implementation of a cryptocurrency blockchain
MIT License
15 stars 2 forks source link

Add magic byte when encoding address for checksum #17

Open Aareon opened 6 years ago

Aareon commented 6 years ago

Doing this will allow this particular implementation to remain unique in the future if other coins are forked from this.

Aareon commented 2 years ago

Work to be done in address.py

Aareon commented 2 years ago

A method for validation would take the first x characters of the address minus the prefix and encode it to verify both checksums are identical. This is the full extent of address validation that can be done without a public key.

Aareon commented 2 years ago

When a transaction is validated, the public key is converted into an address and compared to the Input(s) address