8000 Update iteration_0.markdown by erinnachen · Pull Request #4 · worace/coinage · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update iteration_0.markdown #4

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions iterations/iteration_0.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,19 @@ compact storage format, but for now, we're going to see if we can get
away with a more readable format by serializing our transactions as JSON.

With that in mind, let's say that a Transaction can be represented as a simple
JSON object containing 3 keys:
JSON object containing 4 keys:

1. **inputs** - an array of transaction inputs following the structure defined below
2. **outputs** - an array of transaction outputs following the structure defined below
3. **hash** - a SHA256 hash of the transaction; the hash process will be discussed in detail later
3. **timestamp** - an integer expressing the time of the transaction; see below
4. **hash** - a SHA256 hash of the transaction; the hash process will be discussed in detail later

This would look something like this:

```json
{"inputs":[],
"outputs":[],
"timestamp": 1450310016721,
"hash":"some-sha-hash"
}
```
Expand Down
0