keeshux / basic-blockchain-programming Goto Github PK
View Code? Open in Web Editor NEWSample code from my blog series "Basic blockchain programming".
Sample code from my blog series "Basic blockchain programming".
Hey,
i was trying to follow your tutorial. i'm on windows 10 using Win32 OpenSSL 64Bit. There i stumbled over the error message saying that bignum_ts is undefined. Turns out that you can't declare a non pointer BIGNUM variable anymore, so you have to go with a pointer BIGNUM *priv
.
Also BN_init(BIGNUM*)
doesn't exist anymore, so i had to use BIGNUM* BN_new(void)
.
cheers
Store as-is, endianness only involves multibyte arrays/strings.
The bbp_parse_hex
and bbp_alloc_hex
functions ignore the endian parameter e
.
See https://github.com/keeshux/basic-blockchain-programming/blob/master/common.h
your tx is :
0100000001f3a27f485f9833c8318c490403307fef1397121b5dd8fe70777236e7371c4ef3000000001976a91418ba14b3682295cb05230e31fecb00089240660188acffffffff0100e1f505000000001976a91418ba14b3682295cb05230e31fecb00089240660188ac0000000001000000
my tx is:
0100000001f3a27f485f9833c8318c490403307fef1397121b5dd8fe70777236e7371c4ef30000000000ffffffff0100e1f505000000001976a91418ba14b3682295cb05230e31fecb00089240660188ac00000000
why there are a lot of 1976?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.