bradyrussell / UISCoin

Java cryptocurrency made to learn more about Bitcoin.
https://bradyrussell.github.io/UISCoin/javadoc
0 stars 1 forks source link

add standard flags for easy parsing by clients #38

Open bradyrussell opened 3 years ago

bradyrussell commented 3 years ago

such as FLAG_P2PKH maybe with FLAGDATA

bradyrussell commented 3 years ago

this could be stuff like transaction memo, client version, purchase ID etc

bradyrussell commented 3 years ago

im thinking something like FLAG (memo hex code) FLAGDATA 'this is my memo' FLAG (purchaseID hex code) FLAGDATA 0x01020304

of course lone FLAGs and FLAGDATA are valid as well . some flags dont need data. data without a preceding flag can just be essentially comments