Skip to content

Instantly share code, notes, and snippets.

@brakmic
Created October 8, 2017 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brakmic/990c33fd0c3a65ea252bca0092b686c1 to your computer and use it in GitHub Desktop.
Save brakmic/990c33fd0c3a65ea252bca0092b686c1 to your computer and use it in GitHub Desktop.
Bitcoin Transaction (simplified)
class Transaction {
public:
const int32_t Version;
const uint32_t NumberOfInputs;
const vector<TransactionInput> CollectionOfInputs;
const uint32_t NumberOfOutputs;
const vector<TransactionOutput> CollectionOfOutputs;
const uint32_t LockTimestamp;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment