4774 Commits

Author SHA1 Message Date
Rob Walker
9f02a8d3d0
remove ticks_per_slot from blocktree (#3297) 2019-03-14 15:18:37 -07:00
Stephen Akridge
c208f4dbb5 Add option of replicators to local cluster test 2019-03-14 13:55:11 -07:00
Michael Vines
a17843c8f6 solana-install design proposal 2019-03-14 13:21:00 -07:00
Sagar Dhawan
3f2fc21bb3
Rename hash_queue and fix boundary condition (#3289) 2019-03-14 11:56:36 -07:00
Greg Fitzgerald
9fac3b26ee Move the design proposals to a separate book
Fixes #3262
2019-03-14 10:08:43 -07:00
Greg Fitzgerald
c1eec0290e
Rename userdata to data (#3282)
* Rename userdata to data

Instead of saying "userdata", which is ambiguous and imprecise,
say "instruction data" or "account data".

Also, add `ProgramError::InvalidInstructionData`

Fixes #2761
2019-03-14 10:48:27 -06:00
Eric
de13082347 add economic design mvp to summary and overview 2019-03-14 09:42:19 -06:00
Eric
48b5d666d0 some economic mvp features 2019-03-14 09:42:19 -06:00
Eric
70bb49a46d some economic mvp features 2019-03-14 09:42:19 -06:00
Eric
105fc7029e create mvp section 2019-03-14 09:42:19 -06:00
dependabot[bot]
77a7ffe543 Bump hex-literal from 0.1.3 to 0.1.4
Bumps [hex-literal](https://github.com/RustCrypto/utils) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/RustCrypto/utils/releases)
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.1.3...hex-literal-v0.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-14 07:21:32 -06:00
Michael Vines
7d593e6c61 Exit gracefully when no subcommand is specified 2019-03-14 00:35:34 -05:00
Michael Vines
bb420cb995 Use crate_description and crate_name Clap macros 2019-03-14 00:35:34 -05:00
Greg Fitzgerald
e58220282a Move TransactionError into the SDK 2019-03-13 21:26:57 -06:00
Greg Fitzgerald
4ca4038d54 Rename BankError to TransactionError 2019-03-13 21:26:57 -06:00
Greg Fitzgerald
150cd31ec0 Blur the line between Bank and Runtime 2019-03-13 21:26:57 -06:00
Greg Fitzgerald
6fd0d4dcf5 Boot error piggybacking on BankError 2019-03-13 21:26:57 -06:00
Greg Fitzgerald
296415945a Generalize error codes 2019-03-13 21:26:57 -06:00
Greg Fitzgerald
1de5ae1ef0 Remove SystemError from ProgramError 2019-03-13 21:26:57 -06:00
Greg Fitzgerald
6a89c68a1d Add utility function to help get System error out of ProgramError 2019-03-13 21:26:57 -06:00
Greg Fitzgerald
c14cce4c85 Add InstructionError for runtime instruction errors 2019-03-13 21:26:57 -06:00
Stephen Akridge
959961b596 Modified test 2019-03-13 18:18:27 -07:00
Pankaj Garg
6f76c2da6c Fix confirmation test 2019-03-13 17:50:53 -07:00
Pankaj Garg
8d2bd2b30f Reduce ticks per second
- It's improving TPS. Temp fix for beacons timeframe
2019-03-13 17:50:53 -07:00
Michael Vines
34a8d591fa Switch version file from .txt to .yaml; add target tuple to version.yml 2019-03-13 16:30:07 -07:00
dependabot[bot]
d94ff4bf4a Bump tokio from 0.1.15 to 0.1.17
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.1.15 to 0.1.17.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Changelog](https://github.com/tokio-rs/tokio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.1.15...tokio-0.1.17)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-13 15:45:33 -06:00
carllin
af03df38b9
Don't vote for empty leader transmissions (#3248)
* Don't vote for empty leader transmissions

* Add is_delta flag to bank to detect empty leader transmissions

* Plumb new is_votable flag through replay stage

* Fix PohRecorder tests

* Change is_delta to AtomicBool to avoid making Bank references mutable

* Reset start slot in poh_recorder when working bank is cleared, so that connsecutive TPU's will start from the correct place

* Use proper max tick height calculation

* Test for not voting on empty transmission

* tests for is_votable
2019-03-13 14:06:12 -07:00
Michael Vines
242bcf44db
Replace stale --no-signer usage with --no-voting 2019-03-13 13:50:30 -07:00
Michael Vines
ebd540972d
Remove duplicate --rpc-drone-address 2019-03-13 13:24:02 -07:00
Michael Vines
a17be9f8bd
Revert "Add case for --rpc-drone-address"
This reverts commit 42ad297778b96492899332a9d6151756fed4d63c.
2019-03-13 13:23:54 -07:00
Michael Vines
42ad297778
Add case for --rpc-drone-address 2019-03-13 13:04:44 -07:00
Greg Fitzgerald
0568d7238e Add implemented design proposals section 2019-03-13 13:20:37 -06:00
Greg Fitzgerald
9bc05313a2 Update TPU ASCII art 2019-03-13 13:14:15 -06:00
Michael Vines
fedbae6f8c
Enable rpc for all testnet nodes 2019-03-13 10:49:40 -07:00
Stephen Akridge
64de639817 Fixes to replicator
Move functionality into more functions.
Break down the current test and just test creation/joining the network.
2019-03-13 10:15:03 -07:00
Stephen Akridge
ec9e13d1f4 Add repair slot range
Use default impl RepairSlotRange
2019-03-13 10:15:03 -07:00
Michael Vines
5d27f221f7 Drop socat for iptables 2019-03-13 12:03:56 -05:00
Michael Vines
61db74d98e
Run socat in the background 2019-03-13 08:15:58 -07:00
Tyera Eulberg
1d689e84f1 Move and rename cluster_client 2019-03-12 22:05:38 -06:00
Tyera Eulberg
b7f420412b Update publish script 2019-03-12 22:05:38 -06:00
Tyera Eulberg
e3ac9e9679 Move thin client tests to integration test suite 2019-03-12 22:05:38 -06:00
Tyera Eulberg
12fde77ecd Update crate references 2019-03-12 22:05:38 -06:00
Tyera Eulberg
3fc96c4a18 Add solana-client crate 2019-03-12 22:05:38 -06:00
carllin
cb3eeace56
Replay Stage start_leader() can use wrong parent fork() (#3238)
*  Make sure start_leader starts on the last voted block, not necessarily the biggest indexed bank in frozen_slots()

* Fix tvu test
2019-03-12 17:42:53 -07:00
Pankaj Garg
76feb2098e
Use same VM type for validators as leader, if CUDA is enabled (#3253)
- Since all nodes are created equal
2019-03-12 17:42:47 -07:00
Rob Walker
06cb266cfe
remove unused code (#3252) 2019-03-12 16:46:41 -07:00
Sagar Dhawan
866d3f467f
Fix flag to disable leader-rotation (#3243) 2019-03-12 16:35:13 -07:00
Sagar Dhawan
c1e726da87 Remove comment 2019-03-12 15:32:41 -07:00
Sagar Dhawan
7d7528eb18 Fix test_bank_storage 2019-03-12 15:32:41 -07:00
Rob Walker
9f916f9d47 remove Option<> wrapper for accounts 2019-03-12 15:03:26 -07:00