Commit Graph

13444 Commits

Author SHA1 Message Date
Greg Fitzgerald
c53c351759 Rename erc20 to token-program
Everything it uses already had that name, just the crate was never
renamed.
2019-03-01 10:47:38 -07:00
Michael Vines
7c4473e0aa Rename Entry.id to Entry.hash 2019-03-01 09:31:49 -08:00
Michael Vines
7e7b79ef34 Rename prev_id to prev_hash 2019-03-01 09:31:49 -08:00
Michael Vines
e993d511e3 Rename last_entry_id variables to last_entry_hash 2019-03-01 09:01:59 -08:00
Michael Vines
251b0957f1 Ignore flaky test_dropped_handoff_recovery 2019-03-01 09:01:28 -08:00
Jack May
b9524217fe Update rust example to use BPF enabled infrastructure (#2974) 2019-02-28 22:05:11 -08:00
Michael Vines
6b228df3df Remove last_entry_id/next_blob_index from TvuRotationInfo 2019-02-28 21:57:17 -08:00
Michael Vines
6cf6a1ccc3 process_blocktree() now halts forks at the first partial slot 2019-02-28 21:57:17 -08:00
Michael Vines
d889e77fba Add reset_slot_consumed() 2019-02-28 21:57:17 -08:00
Michael Vines
93d65aa9cc Use your words 2019-02-28 21:02:29 -08:00
Michael Vines
f216a7179a Ignore test_full_leader_validator_network 2019-02-28 21:01:10 -08:00
Sagar Dhawan
434b8a8970 Fix another PR race 2019-02-28 20:11:50 -08:00
carllin
cc9191f1b0 Update blocktree API's (#3025) 2019-02-28 19:49:22 -08:00
Rob Walker
567bbecca0 use bank.id() where we want 'slot'; bank.slot_height() is not slot (#3014) 2019-02-28 19:07:47 -08:00
Sagar Dhawan
07e4f9a611 Fix PR race 2019-02-28 18:44:07 -08:00
Pankaj Garg
b41286919d Rename bank.id to bank.slot (#3018) 2019-02-28 18:02:45 -08:00
Jack May
564057c812 Bump rust-bpf-sysroot to pull in liballoc 2019-02-28 17:25:28 -08:00
Sagar Dhawan
20e4edec61 Refactor Vote Program Account setup (#2992) 2019-02-28 17:08:45 -08:00
Pankaj Garg
d5f0e49535 Refactor fullnode rotation test (#3015) 2019-02-28 15:53:09 -08:00
Pankaj Garg
30bccc0c68 Fix slot index used while calculating leader schedule
- slot_leader_at() was using absolute slot number instead of index in the epoch
2019-02-28 15:41:01 -08:00
Stephen Akridge
1c44b738fe Fix vote_accounts test 2019-02-28 15:22:47 -08:00
carllin
217f30f9c3 Add get_supermajority_slot() function (#2976)
* Moved supermajority functions into new module, staking_utils

* Move staking functions out of bank, and into staking_utils, change get_supermajority_slot to only use state from epoch boundary

* Move bank slot height in staked_nodes_at_slot() to be bank id
2019-02-28 13:15:25 -08:00
Greg Fitzgerald
fec867539d More SlotMeta docs (#3011) 2019-02-28 12:18:11 -07:00
Rob Walker
d123d86d84 remove forks.working_bank() where possible (#3010) 2019-02-28 10:57:58 -08:00
Greg Fitzgerald
485ccd20e4 Use TransactionBuilder in the Rewards transaction 2019-02-28 10:53:26 -08:00
Greg Fitzgerald
8d004ee947 Clarify is_full 2019-02-28 11:06:06 -07:00
Greg Fitzgerald
4704aa1f80 Rename SlotMeta::is_trunk to SlotMeta::is_rooted 2019-02-28 10:39:56 -07:00
Michael Vines
271115a6be Switch blockstream_service to create_new_tmp_ledger! 2019-02-28 07:59:17 -08:00
Greg Fitzgerald
a79caf7795 Test transaction with a fee 2019-02-28 08:56:55 -07:00
Greg Fitzgerald
404aa63147 Add TransactionBuilder 2019-02-28 08:56:55 -07:00
Greg Fitzgerald
4610706d9f Generalize instruction
For serialization: Instruction<u8, u8>
For users:         Instruction<Pubkey, (Pubkey, bool)>
For programs:      Instruction<Pubkey, (Pubkey, bool, Account)>
2019-02-28 08:56:55 -07:00
Greg Fitzgerald
8e4cd6fcc3 Delete leader scheduler artifact 2019-02-28 07:47:37 -08:00
Tyera Eulberg
6eb09a6901 Trigger blockstream on full-slot notification (clean up superfluous stuff) 2019-02-28 07:20:16 -07:00
Tyera Eulberg
e04d2379df Remove bank dependency from forward_entries 2019-02-28 07:20:16 -07:00
dependabot[bot]
5b72a984a3 Bump serde_json from 1.0.38 to 1.0.39
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.38 to 1.0.39.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.38...v1.0.39)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-28 06:57:17 -07:00
Jack May
cf545e64b8 xargo requiress sysroot as source to build dependent crates 2019-02-28 00:49:06 -08:00
Jack May
ac1e266588 Bump rust-bpf to pull in built-in target bpfel-unknown-unknown (#3001) 2019-02-28 00:26:50 -08:00
Sathish Ambley
0f2226901d Fix transaction count after squash 2019-02-27 23:21:49 -08:00
Michael Vines
dad1511484 test_bank_squash: validate transaction_count() before/after squashing 2019-02-27 23:21:49 -08:00
Michael Vines
05646d72b8 Remove unnecessary fetching of a new last_id 2019-02-27 22:58:59 -08:00
Michael Vines
7ccd601100 Remove incorrect file description 2019-02-27 22:36:18 -08:00
Rob Walker
d23f8a3e99 increase accounts coverage (#2993) 2019-02-27 21:42:14 -08:00
Michael Vines
0dc5af62ff Standardize on 'use log::*' for easy access to all log level macros 2019-02-27 21:16:23 -08:00
Michael Vines
855f1823a4 Include solana-logger for use by tests 2019-02-27 21:16:23 -08:00
Rob Walker
7fd40f1eb9 add failing test for #2994 (#2995) 2019-02-27 20:46:26 -08:00
Stephen Akridge
95f2f05f45 Refactor account serialize in appendvec
Remove dupe code and see how this compares to bincode.
Add benchmarks to justify custom serialize and also experiment with
safe solutions.
2019-02-27 19:57:50 -08:00
Michael Vines
cd976a8082 s/tx/transaction/ for function names 2019-02-27 17:00:10 -08:00
Michael Vines
163ed40efb Send program write transactions concurrently 2019-02-27 17:00:10 -08:00
Michael Vines
32aaa5fd06 Derive retry timeout from slot duration 2019-02-27 17:00:10 -08:00
Rob Walker
163874d4da remove purge parameter to accounts (#2990) 2019-02-27 16:06:06 -08:00