Michael Vines
1bcafca690
Find test_tx again
2018-12-05 13:29:29 -08:00
Michael Vines
5d80edd969
Properly check for failure (can't rely on `set -e` here)
2018-12-05 13:26:06 -08:00
Rob Walker
e21b6d9db3
ensure we'd actually have N hashes per tick ( #2011 )
2018-12-05 12:49:41 -08:00
carllin
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
Michael Vines
7336645501
Move programs into the executable location so native_loader can find them
2018-12-05 10:49:06 -08:00
Michael Vines
59e6bd115e
system_program must be a static lib as it allocates Account memory
2018-12-05 10:49:06 -08:00
Michael Vines
8597701b0f
Expand matching to include optional _program suffix
2018-12-05 10:49:06 -08:00
Michael Vines
15aef079e3
Include builtin programs for ledger verification
2018-12-05 10:49:06 -08:00
Michael Vines
42689d4842
cargo fmt
2018-12-05 10:49:06 -08:00
Michael Vines
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
Michael Vines
424612ea9d
Reduce |ulimit -n| on macOS to max supported amount
2018-12-05 10:49:06 -08:00
Michael Vines
5afafd9146
Update list of crates to publish
2018-12-05 10:49:06 -08:00
Michael Vines
affa76f81d
Initialize logger
2018-12-05 10:49:06 -08:00
Michael Vines
340d5d557a
Add vote program to workspace
2018-12-05 10:49:06 -08:00
Michael Vines
214ed3667c
Move system_transaction out of src/
2018-12-05 10:49:06 -08:00
Michael Vines
122627dda2
Move loader_transaction out of src/
2018-12-05 10:49:06 -08:00
Michael Vines
7af95eadcc
Move vote_transaction out of src/
2018-12-05 10:49:06 -08:00
Michael Vines
9ee858a00c
Move budget_program out of src/
2018-12-05 10:49:06 -08:00
Michael Vines
27d456bf93
Move storage_program out of src/
2018-12-05 10:49:06 -08:00
Michael Vines
ea6e042a6f
Move vote_program out of src/
2018-12-05 10:49:06 -08:00
Michael Vines
a594f56c02
Add token_program.rs to sdk/
2018-12-05 10:49:06 -08:00
Michael Vines
e6fa74fe69
Remove custom Error enum, just use ProgramError
2018-12-05 10:49:06 -08:00
Michael Vines
f184d69c7a
Add account userdata errors
2018-12-05 10:49:06 -08:00
Michael Vines
228a5aa75d
Remove stray comment
2018-12-05 10:49:06 -08:00
Michael Vines
9a4f8199d6
Move system_program out of src/
2018-12-05 10:49:06 -08:00
Michael Vines
ae0be1e857
Remove bpf_loader.rs
2018-12-05 10:49:06 -08:00
Michael Vines
d010cac8a5
Remove token_program.rs
2018-12-05 10:49:06 -08:00
Michael Vines
63a758508a
Add sdk native_loader.rs
2018-12-05 10:49:06 -08:00
Greg Fitzgerald
bf2658cee0
Apply review feedback
2018-12-05 10:30:16 -08:00
Greg Fitzgerald
6ecb00a1d8
Add account access rules
2018-12-05 10:30:16 -08:00
Greg Fitzgerald
1990501786
Describe executable and owner account metadata
2018-12-05 10:30:16 -08:00
Greg Fitzgerald
963de90b7f
Apply review feedback
2018-12-05 10:30:16 -08:00
Greg Fitzgerald
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
Michael Vines
e4049f3733
Ensure subshell failures are reported
2018-12-05 10:28:03 -08:00
Michael Vines
3cefa59a14
Remove stray tabs
2018-12-05 08:11:55 -08:00
jackcmay
0cb5ae41c6
Enable BPF shared objects ( #2012 )
...
* Switch to BPF ELF shared objects (.so)
2018-12-04 22:03:32 -08:00
Greg Fitzgerald
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
Pankaj Garg
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
Greg Fitzgerald
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
Stephen Akridge
c1c2f1f0a9
Cleanup ad-hoc rpc address formation
...
Lots of places where we are forming rpc addresses.
2018-12-03 18:13:55 -08:00
Michael Vines
777a0a858e
Move ProgramError into sdk/
2018-12-03 13:50:00 -08:00
Michael Vines
68e99c18c0
Remove duplicate SYSTEM_PROGRAM_ID
2018-12-03 13:50:00 -08:00
Michael Vines
c99f93e40a
Remove signature.rs indirection
2018-12-03 13:50:00 -08:00
Greg Fitzgerald
969016b9e4
Integrate cleanup from book ( #1991 )
...
This is backwards. In the future, I'll make changes to the RFC
first. Once the design is implemented, it can be more of a copy-paste
into the book.
2018-12-03 11:53:03 -07:00
carllin
4ae58cc854
Change range of leader scheduler to match current broadcasts ( #1920 )
2018-12-03 00:10:43 -08:00
Michael Vines
1fbbf13ec9
Dissuade DOCKER=1 usage
2018-12-02 23:15:43 -08:00
Michael Vines
3f9dc08984
Use docker system includes that now exist
2018-12-02 23:04:00 -08:00
Jack May
1ddf9960a6
Update to llvm 0.0.4
2018-12-02 21:30:57 -08:00
Michael Vines
9f45c0eb03
Set OS correctly
2018-12-02 21:11:56 -08:00
Michael Vines
67155861e5
generate.sh output
2018-12-02 21:11:56 -08:00