Commit Graph

3362 Commits

Author SHA1 Message Date
a6312ba98f Switch snap to bootstrap-fullnode/fullnode naming 2018-12-05 18:59:43 -08:00
4170f11958 More detail for the storage RFC protocol
And section numbers which can be referenced from github issues.
2018-12-05 17:40:46 -08:00
04a0652614 Generalize net/ from leader/validator to bootstrap-fullnode/fullnode 2018-12-05 17:11:16 -08:00
b880dafe28 Cleanup intro 2018-12-05 15:25:11 -08:00
36530fc7c6 Fix link 2018-12-05 15:41:32 -07:00
4fd4218178 update terminology before tearing into RFCs (#1995)
update terminology before tearing into RFCs
2018-12-05 14:35:41 -08:00
632425c7d7 Move native_loader under programs/native/ 2018-12-05 14:32:42 -08:00
ad3e36a7ab Bump rand from 0.5.5 to 0.6.1 (#1891)
* Bump rand from 0.5.5 to 0.6.1

Bumps [rand](https://github.com/rust-random/rand) from 0.5.5 to 0.6.1.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Fix conflicts and deprecated usages

* Fix benches
2018-12-05 14:12:10 -08:00
a29b307554 Reorg programming model to be more top-down
First explain how a client interacts with existing programs and why
you'd do that. Next, mention that users can contribute their own programs.
Then explain how those programs can be written in any language.
Finally, mention persistent storage, which is only needed by
stateful programs.
2018-12-05 13:36:43 -08:00
1bcafca690 Find test_tx again 2018-12-05 13:29:29 -08:00
5d80edd969 Properly check for failure (can't rely on set -e here) 2018-12-05 13:26:06 -08:00
e21b6d9db3 ensure we'd actually have N hashes per tick (#2011) 2018-12-05 12:49:41 -08:00
9c30bddb88 Rocks db erasure decoding (#1900)
* Change erasure to consume new RocksDb window

* Change tests for erasure

* Remove erasure from window

* Integrate erasure decoding back into window

* Remove corrupted blobs from ledger

* Replace Erasure result with result module's Result
2018-12-05 12:47:19 -08:00
7336645501 Move programs into the executable location so native_loader can find them 2018-12-05 10:49:06 -08:00
59e6bd115e system_program must be a static lib as it allocates Account memory 2018-12-05 10:49:06 -08:00
8597701b0f Expand matching to include optional _program suffix 2018-12-05 10:49:06 -08:00
15aef079e3 Include builtin programs for ledger verification 2018-12-05 10:49:06 -08:00
42689d4842 cargo fmt 2018-12-05 10:49:06 -08:00
6e9b8e21ae Drop new-style Result return to avoid error-type wrangling
Plus a backtrace at the point of failure is always nice
2018-12-05 10:49:06 -08:00
424612ea9d Reduce |ulimit -n| on macOS to max supported amount 2018-12-05 10:49:06 -08:00
5afafd9146 Update list of crates to publish 2018-12-05 10:49:06 -08:00
affa76f81d Initialize logger 2018-12-05 10:49:06 -08:00
340d5d557a Add vote program to workspace 2018-12-05 10:49:06 -08:00
214ed3667c Move system_transaction out of src/ 2018-12-05 10:49:06 -08:00
122627dda2 Move loader_transaction out of src/ 2018-12-05 10:49:06 -08:00
7af95eadcc Move vote_transaction out of src/ 2018-12-05 10:49:06 -08:00
9ee858a00c Move budget_program out of src/ 2018-12-05 10:49:06 -08:00
27d456bf93 Move storage_program out of src/ 2018-12-05 10:49:06 -08:00
ea6e042a6f Move vote_program out of src/ 2018-12-05 10:49:06 -08:00
a594f56c02 Add token_program.rs to sdk/ 2018-12-05 10:49:06 -08:00
e6fa74fe69 Remove custom Error enum, just use ProgramError 2018-12-05 10:49:06 -08:00
f184d69c7a Add account userdata errors 2018-12-05 10:49:06 -08:00
228a5aa75d Remove stray comment 2018-12-05 10:49:06 -08:00
9a4f8199d6 Move system_program out of src/ 2018-12-05 10:49:06 -08:00
ae0be1e857 Remove bpf_loader.rs 2018-12-05 10:49:06 -08:00
d010cac8a5 Remove token_program.rs 2018-12-05 10:49:06 -08:00
63a758508a Add sdk native_loader.rs 2018-12-05 10:49:06 -08:00
bf2658cee0 Apply review feedback 2018-12-05 10:30:16 -08:00
6ecb00a1d8 Add account access rules 2018-12-05 10:30:16 -08:00
1990501786 Describe executable and owner account metadata 2018-12-05 10:30:16 -08:00
963de90b7f Apply review feedback 2018-12-05 10:30:16 -08:00
13c7c3b3a6 Rewrite programming model with developer focus
Previous version talked about concurrency, which is described
in detail in the Anatomy of a Fullnode chapter. App developers
probably don't care that their programs run in parallel with
other programs. From their perspective, there's no difference
between 10x parallelism and a 10x faster CPU.
2018-12-05 10:30:16 -08:00
e4049f3733 Ensure subshell failures are reported 2018-12-05 10:28:03 -08:00
3cefa59a14 Remove stray tabs 2018-12-05 08:11:55 -08:00
0cb5ae41c6 Enable BPF shared objects (#2012)
* Switch to BPF ELF shared objects (.so)
2018-12-04 22:03:32 -08:00
209040e80e Free up term "finality" to imply "economic finality" (#2002)
* leader finality -> confirmation

Free up term "finality" to imply "economic finality."

* Reorder chapters
2018-12-04 20:52:38 -07:00
2112c87e13 Initial vote signing service implementation (#1996)
* Initial vote signing service implementation

- Does not use enclave for secure signing

* fix clippy errors

* added some tests

* more tests

* Address review comments + more tests
2018-12-04 11:10:57 -08:00
da44b0f0f6 Move markdown book theme to its default directory
It was getting in the way of my "git grep".
2018-12-04 10:14:41 -08:00
c1c2f1f0a9 Cleanup ad-hoc rpc address formation
Lots of places where we are forming rpc addresses.
2018-12-03 18:13:55 -08:00
777a0a858e Move ProgramError into sdk/ 2018-12-03 13:50:00 -08:00