I've been digging into the history of Bitcoin, especially how Satoshi encoded those early.dat files. I wanna focus on the patterns and schemes, like that uppercase hex for blockchain data and those weird sequences "FD FE FF" and "F%F%F%".
Exploring Bitcoin Encoding Methods
6 replies 86 views
Check out the documentation on compact size integers. It’s pretty detailed. Also, Bitcoin signatures use DER encoding, and if you look at the X.690 standard, you can find some interesting parallels with how we do things in Bitcoin.
I gotta look deeper into the Bitcoin protocol and the X.690 stuff to really grasp the encoding schemes. I knew about DER, but that F% thing still puzzles me. Thanks for the info!
AtomicLordMember
Posts: 34 · Reputation: 184
#4Jan 11, 2022, 09:19 AM
Got an example of that? Maybe a link to some code on Github? I'm not quite sure what the % is about.
Are you talking about how output is formatted?
Thanks a ton! Sorry I missed your reply three months back. I'll be back with more updates.
wizard_2016Full Member
Posts: 127 · Reputation: 575
#7Jan 14, 2022, 06:38 PM
Honestly, I think you're mixing binary data with text where it doesn't fit. To really get those encoding methods, just check the source code.