3033 Commits

Author SHA1 Message Date
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
Michael Vines
5111255942 Map native filesystem to same location within docker 2018-12-02 21:11:56 -08:00
Michael Vines
b405deb55a Always use llvm-native's include, as llvm-docker has no include 2018-12-02 21:11:56 -08:00
anatoly yakovenko
9b5368d0ec fixes to rfcs (#1976) 2018-12-02 16:44:14 -07:00
Greg Fitzgerald
f8aa806d77
Explain how ledger broadcasting works (#1960) 2018-12-02 16:43:40 -07:00
jackcmay
e98ef7306d
Update LLVM (#1987)
Build for all targets, use bzip2
2018-12-02 14:33:07 -08:00
jackcmay
188904c318
Fix Docker paths after move (#1986) 2018-12-02 13:47:05 -08:00
Michael Vines
9594293804 Write versions in .. 2018-12-02 12:17:44 -08:00
Michael Vines
814801d321 Restore OS macro 2018-12-02 12:17:44 -08:00
Michael Vines
0896511b14 Echo install.sh output properly 2018-12-02 12:17:44 -08:00
Michael Vines
222b177745 Echo cxx instead of cc when building c++ source files 2018-12-02 12:17:44 -08:00
Michael Vines
4189a30b13
Check for version.md instead of README.md 2018-12-02 11:28:19 -08:00
Michael Vines
f6f0a5d448
Store version info in version.md instead of README.md 2018-12-02 10:12:16 -08:00
Sagar Dhawan
b21facab7b
Add metrics for prune messages (#1981) 2018-12-01 14:05:40 -08:00
Michael Vines
70312ed77f Package package.sh to avoid a special case 2018-12-01 12:37:57 -08:00
Michael Vines
ee9255cb1d Avoid unnecessary llvm/ subdirectory 2018-12-01 12:37:57 -08:00
Michael Vines
f045e19ddc Remove version info from llvm/criterion install directory 2018-12-01 12:37:57 -08:00
Michael Vines
3f1bececdf Update location of bpf sdk 2018-12-01 12:37:57 -08:00
Sagar Dhawan
34c3a0cc1f
Add signature verification to gossip (#1937) 2018-12-01 12:00:30 -08:00
Michael Vines
8ef73eee51 Reject builds faster: if sanity checks fail don't bother with the rest 2018-12-01 11:43:29 -08:00
Michael Vines
e52f3f34a4 Autoinstall dependencies in the SDK itself 2018-12-01 10:47:59 -08:00