Commit Graph

9052 Commits

Author SHA1 Message Date
Michael Vines
40e945b0c8 Move token_program from src/ to programs/native/ 2018-11-02 18:13:02 -07:00
Michael Vines
f3b04894b9 Try harder to snap download 2018-11-03 00:29:13 +00:00
Greg Fitzgerald
35b7e50166 Rebase on new RFC file naming 2018-11-02 16:52:21 -06:00
Eric
6b3f684e2a elw staking rfc revisions 2018-11-02 16:50:06 -06:00
Eric Williams
63c66ce765 initial staking design overview 2018-11-02 16:50:06 -06:00
carllin
0636399b7a Compute finality computation in new ComputeLeaderFinalityService (#1652)
* Move finality computation into a service run from the banking stage, ComputeLeaderFinalityService

* Change last ids nth to tick height, remove separate tick height from bank
2018-11-02 15:49:14 -07:00
Michael Vines
2c74815cc9 ci: correct crates.io publishing order 2018-11-02 15:39:24 -07:00
carllin
298bd6479a Add first leader to genesis (#1681)
* Add first leader to genesis entries, consume in genesis.sh

* Set bootstrap leader in the bank on startup, remove instantiation of bootstrap leader from bin/fullnode

* Remove need to initialize bootstrap leader in leader_scheduler, now can be read from genesis entries

* Add separate interface new_with_leader() in mint for creating genesis leader entries
2018-11-02 14:32:05 -07:00
Greg Fitzgerald
a8481215fa Model the process after Rust's RFC process 2018-11-02 14:55:39 -06:00
Greg Fitzgerald
b7545b08fa Add process for making architectural changes 2018-11-02 14:55:39 -06:00
Michael Vines
cf8f3bcbed Ship native programs in snap 2018-11-01 15:59:41 -07:00
Michael Vines
b8534a402d shell 2018-11-01 15:25:27 -07:00
Michael Vines
45b9a7f8e9 shell 2018-11-01 14:40:21 -07:00
Tyera Eulberg
879431ebcd Add timeout to TcpStream connect, and rename test 2018-11-01 14:13:19 -06:00
Tyera Eulberg
102354c218 Add balance check retries 2018-11-01 11:28:33 -06:00
Tyera Eulberg
af1283e92c Improve airdrop confirmation logic 2018-11-01 11:28:33 -06:00
Michael Vines
6b777b066a Find clang 7 better
If LLVM_DIR is defined, use it to locate clang.  Otherwise use brew on
macOS, and assume clang-7 otherwise
2018-11-01 09:48:38 -07:00
Michael Vines
1e01088698 Improve clang install info for Linux 2018-11-01 09:48:38 -07:00
Michael Vines
3ea0651078 Rename sol_bpf.h to solana_sdk.h 2018-10-31 23:46:34 -07:00
Michael Vines
776b1c2294 sol_bpf.h improvements
- Define NULL
- Add sol_memcmp()
- Use sizeof() more
- Add SOL_ARRAY_SIZE
- Make sol_deserialize() more flexible
2018-10-31 23:46:34 -07:00
Sathish
dffa2eb04f Do not parallelize deserialize operation (#1663)
Deserialize operations are faster when done serially with the
MT banking stage and helps with performance improvement with
reduced thread context switches.
2018-10-31 22:12:15 -07:00
Michael Vines
5ecb9da801 Fix up bpf numeric types 2018-10-31 20:53:44 -07:00
carllin
00889c5139 Fix bad function arguments (#1682) 2018-10-31 19:55:58 -07:00
Stephen Akridge
af8dc3fd83 Fix snap build
cuda and chacha features required for chacha_cuda
2018-10-31 17:59:31 -07:00
carllin
ba884b4e36 Add thin client test for vote functionality, fix sizing errors in vote contract (#1643)
* Added tests to thin client to test VoteContract calls, fix VoteContract sizing errors

* Calculate upper bound on VoteProgram size at runtime, add test for serializing/deserializing a max sized VoteProgram state
2018-10-31 17:47:50 -07:00
Tyera Eulberg
6ddd494826 Improve rpc logging 2018-10-31 15:21:55 -06:00
Stephen Akridge
aa2fd3f3bb Storage RFC grammar 2018-10-31 13:44:21 -07:00
Stephen Akridge
cf00354f42 Add storage stage which does storage mining verification for validators 2018-10-31 13:44:21 -07:00
carllin
47f1fa3f2e Remove purging of leader id from cluster info (#1642) 2018-10-31 12:30:48 -07:00
Pankaj Garg
db98f7e0b4 Use env variables to disable validator sanity and ledger verification (#1675) 2018-10-31 12:30:33 -07:00
jackcmay
38ee5c4dfb Program may not exit (#1669)
Cap max executed instructions, report number of executed instructions
2018-10-31 10:59:56 -07:00
jackcmay
aca2f9666d Fix deps (#1672) 2018-10-31 10:12:17 -07:00
Michael Vines
b74e085538 SYSTEM_INC_DIRS needs immediate expansion 2018-10-31 07:20:09 -07:00
Jack May
899de2ff56 Revert inclusion change, fix doc 2018-10-31 07:03:38 -07:00
Jack May
cf521a5bd2 Fix const 2018-10-31 07:03:38 -07:00
Jack May
bc13248e1c Fix C programs 2018-10-31 07:03:38 -07:00
jackcmay
0529f36fde Run workspace member's tests (#1666)
Run workspace member's tests
2018-10-30 22:53:36 -07:00
Michael Vines
74b4ecb7f3 Upgrade to influx_db_client@0.3.6 2018-10-30 19:44:09 -07:00
jackcmay
333f658eb6 Fix lua_loader tests (#1665) 2018-10-30 18:36:18 -07:00
Stephen Akridge
7cb5c0708b Fetch v0.10.4 which has v100 binary compiled in
This may or may not fix high latencies seen on the snap build on v100.
GPU driver will not have to JIT the device code for V100 though which
is an improvement.
2018-10-30 18:06:16 -07:00
Pankaj Garg
85869552e0 Update testnet scripts to use release tar ball (#1660)
* Update testnet scripts to use release tar ball

* use curl instead of s3cmd
2018-10-30 18:05:38 -07:00
Pankaj Garg
6f9843c14b Publish a tarball of Solana release binaries (#1656)
* Publish a tarball of solana release binaries

* included native programs in Solana release tar

* Remove PR check from publish script
2018-10-30 15:31:52 -07:00
Michael Vines
7d44f60e45 Find native program with solana_ prefix 2018-10-30 13:13:37 -07:00
Michael Vines
8d16f69bb9 Improve account subscribe/unsubscribe logging 2018-10-30 12:03:35 -07:00
Michael Vines
3a73a09391 Avoid panicking when a native library doesn't exist 2018-10-30 12:03:35 -07:00
Michael Vines
009c71f7e2 Demote info logs 2018-10-30 12:03:35 -07:00
Michael Vines
073d39df44 Add solana_ prefix to loaders so their logs appear in the default RUST_LOG config 2018-10-30 12:03:35 -07:00
Michael Vines
ae7222f0df Work around influxdb panic 2018-10-30 12:03:35 -07:00
Michael Vines
4d6c54272a Tweak logging 2018-10-30 12:03:35 -07:00
Rob Walker
13bfdde228 remove ledger tail code, WINDOW_SIZE begone (#1617)
* remove WINDOW_SIZE, use window.window_size()
* move ledger tail, redundant with ledger-based repair
2018-10-30 10:05:18 -07:00