Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on Transaction Concepts, and some other stuff #343

Merged
merged 2 commits into from
May 31, 2016

Conversation

ttmc
Copy link
Contributor

@ttmc ttmc commented May 30, 2016

There was no documentation explaining the basics of transactions (i.e. what they are, the kinds, how they work), so I wrote some documentation about that. I put it in The Transaction, Block and Vote Models section of the docs.

Note: This section of the docs will also strongly influence (or become) revisions to the BigchainDB whitepaper, so it's important for it to have minimal errors.

I also made a some other minor changes to the docs.

@diminator I assigned you to this PR because I may have made some technical errors and you're among the people most familiar with the technicalities of transactions.

@codecov-io
Copy link

Current coverage is 88.14%

Merging #343 into master will not change coverage

@@             master       #343   diff @@
==========================================
  Files            18         18          
  Lines          1206       1206          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           1063       1063          
  Misses          143        143          
  Partials          0          0          

Sunburst

Powered by Codecov. Last updated by 789af4a...776c7a6

BigchainDB stores all its records in JSON documents.

The three main kinds of records are transactions, blocks and votes.
_Transactions_ are used to register, issue, create or transfer things (e.g. assets). Multiple transactions are combined with some other metadata to form _blocks_. Nodes append _votes_ to blocks. This section is a reference on the details of transactions, blocks and votes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should chose only one between register, issue, create

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was added after a discussion with Bruce... A transaction with no inputs can have many uses, and they can't all be captured with one verb, or at least I don't think they can.

In any case, if we remove the "operation" from the transaction data model (as suggested in issue #340), we're free to use whatever verb we like when describing what one of these input-free transactions is doing.

@ttmc ttmc merged commit 3b2b70e into master May 31, 2016
@ghost ghost removed the when: In progress label May 31, 2016
@ttmc ttmc deleted the more-transaction-model-details branch June 21, 2016 09:19
sbellem pushed a commit to sbellem/bigchaindb that referenced this pull request Oct 24, 2016
…del-details

Documentation on Transaction Concepts, and some other stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants