Commit Graph

2655 Commits

Author SHA1 Message Date
e7cbbd8d45 cargo fmt 2018-11-02 19:54:49 -07:00
c8c255ad73 Rename Budget to BudgetExpr 2018-11-02 19:54:49 -07:00
a264f8fa9b Fix |cargo test| 2018-11-02 19:04:59 -07:00
40e945b0c8 Move token_program from src/ to programs/native/ 2018-11-02 18:13:02 -07:00
f3b04894b9 Try harder to snap download 2018-11-03 00:29:13 +00:00
35b7e50166 Rebase on new RFC file naming 2018-11-02 16:52:21 -06:00
6b3f684e2a elw staking rfc revisions 2018-11-02 16:50:06 -06:00
63c66ce765 initial staking design overview 2018-11-02 16:50:06 -06:00
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
2c74815cc9 ci: correct crates.io publishing order 2018-11-02 15:39:24 -07:00
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
a8481215fa Model the process after Rust's RFC process 2018-11-02 14:55:39 -06:00
b7545b08fa Add process for making architectural changes 2018-11-02 14:55:39 -06:00
cf8f3bcbed Ship native programs in snap 2018-11-01 15:59:41 -07:00
b8534a402d shell 2018-11-01 15:25:27 -07:00
45b9a7f8e9 shell 2018-11-01 14:40:21 -07:00
879431ebcd Add timeout to TcpStream connect, and rename test 2018-11-01 14:13:19 -06:00
102354c218 Add balance check retries 2018-11-01 11:28:33 -06:00
af1283e92c Improve airdrop confirmation logic 2018-11-01 11:28:33 -06:00
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
1e01088698 Improve clang install info for Linux 2018-11-01 09:48:38 -07:00
3ea0651078 Rename sol_bpf.h to solana_sdk.h 2018-10-31 23:46:34 -07:00
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
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
5ecb9da801 Fix up bpf numeric types 2018-10-31 20:53:44 -07:00
00889c5139 Fix bad function arguments (#1682) 2018-10-31 19:55:58 -07:00
af8dc3fd83 Fix snap build
cuda and chacha features required for chacha_cuda
2018-10-31 17:59:31 -07:00
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
6ddd494826 Improve rpc logging 2018-10-31 15:21:55 -06:00
aa2fd3f3bb Storage RFC grammar 2018-10-31 13:44:21 -07:00
cf00354f42 Add storage stage which does storage mining verification for validators 2018-10-31 13:44:21 -07:00
47f1fa3f2e Remove purging of leader id from cluster info (#1642) 2018-10-31 12:30:48 -07:00
db98f7e0b4 Use env variables to disable validator sanity and ledger verification (#1675) 2018-10-31 12:30:33 -07:00
38ee5c4dfb Program may not exit (#1669)
Cap max executed instructions, report number of executed instructions
2018-10-31 10:59:56 -07:00
aca2f9666d Fix deps (#1672) 2018-10-31 10:12:17 -07:00
b74e085538 SYSTEM_INC_DIRS needs immediate expansion 2018-10-31 07:20:09 -07:00
899de2ff56 Revert inclusion change, fix doc 2018-10-31 07:03:38 -07:00
cf521a5bd2 Fix const 2018-10-31 07:03:38 -07:00
bc13248e1c Fix C programs 2018-10-31 07:03:38 -07:00
0529f36fde Run workspace member's tests (#1666)
Run workspace member's tests
2018-10-30 22:53:36 -07:00
74b4ecb7f3 Upgrade to influx_db_client@0.3.6 2018-10-30 19:44:09 -07:00
333f658eb6 Fix lua_loader tests (#1665) 2018-10-30 18:36:18 -07:00
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
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
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
7d44f60e45 Find native program with solana_ prefix 2018-10-30 13:13:37 -07:00
8d16f69bb9 Improve account subscribe/unsubscribe logging 2018-10-30 12:03:35 -07:00
3a73a09391 Avoid panicking when a native library doesn't exist 2018-10-30 12:03:35 -07:00
009c71f7e2 Demote info logs 2018-10-30 12:03:35 -07:00
073d39df44 Add solana_ prefix to loaders so their logs appear in the default RUST_LOG config 2018-10-30 12:03:35 -07:00