Commit Graph

8667 Commits

Author SHA1 Message Date
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
Tyera Eulberg
873007bae1 Fix tests and move bank dependency slightly 2019-02-27 15:31:23 -08:00
Tyera Eulberg
a67a88c8ef Hoist EntrySender in ReplayStage 2019-02-27 15:31:23 -08:00
carllin
6d1b43f1b1 Make leader_schedule a utitlity module named leader_schedule_utils (#2988) 2019-02-27 14:41:46 -08:00
Sagar Dhawan
3a20a20807 Reintroduce leader_id to blobs (#2986) 2019-02-27 13:37:08 -08:00
Greg Fitzgerald
e45559a1a7 Add slot 3 back to ASCII art (#2979)
* Add slot 3 back to ASCII art

* New slot-oriented diagrams

When 1-block-per-slotm, slots are drawn vertically. That's the ideal
case. Abandoning a block is what should look like something forking
off to the side.
2019-02-27 14:27:58 -07:00
Michael Vines
140954a53c Remove Tpu::is_leader(), fullnode doesn't need it anymore 2019-02-27 11:55:21 -08:00
Michael Vines
b5d7ac3ce3 Set delay based on ticks_per_slot to ensure the test makes it to a new block 2019-02-27 11:13:29 -08:00
Michael Vines
b5d714eec7 Derive retry timeout from slot duration 2019-02-27 11:13:29 -08:00
Michael Vines
36cdaffe25 Fix indent 2019-02-27 11:11:24 -08:00
Michael Vines
16e2443f61 Remove unnecessary if 2019-02-27 11:06:38 -08:00
Rob Walker
9adbc1dd60 nit: always pass &Arc<Bank>, clone() only where consumed 2019-02-27 10:55:43 -08:00
Michael Vines
b6ccb475f1 Clarify FIXME source 2019-02-27 10:37:48 -08:00
Sathish Ambley
ca0f16ccc0 Fix test failure 2019-02-27 08:22:52 -08:00
Stephen Akridge
c241a56fb0 Remove extraneous print. 2019-02-27 08:22:52 -08:00
Sathish Ambley
4149f7fd1c Fix review comments 2019-02-27 08:22:52 -08:00
Sathish Ambley
cc68ecdacf Use default if previous values do not exist 2019-02-27 08:22:52 -08:00
Sathish Ambley
96b349dcbb Performance optimizations 2019-02-27 08:22:52 -08:00
Stephen Akridge
5216952691 Change benchmark path to target/ or OUT_DIR
Also reduce some code duplication with cleanup_dirs fn.
2019-02-27 08:22:52 -08:00
Sathish Ambley
c46b2541fe - Fix lock/unlock of accounts
- Fix format check warnings
2019-02-27 08:22:52 -08:00
Stephen Akridge
2158ba5863 tx count per fork 2019-02-27 08:22:52 -08:00
Stephen Akridge
180d297df8 Rebase and panic with no accounts
Add Accounts::has_accounts function for hash_internal_state calculation.
2019-02-27 08:22:52 -08:00
Sathish Ambley
c276375a0e Persistent account storage across directories 2019-02-27 08:22:52 -08:00
Sathish Ambley
130563cd4c AppendVec 2019-02-27 08:22:52 -08:00
Michael Vines
9e2a7921c8 Recover from rebase 2019-02-26 22:08:17 -08:00
Michael Vines
9539154a4a Remove test_name arg 2019-02-26 22:08:17 -08:00
Michael Vines
84bd9296cd Centralize unwrap() within create_new_tmp_ledger! 2019-02-26 22:08:17 -08:00
Michael Vines
88ecce12a2 No longer need to give new_fullnode() a random string 2019-02-26 22:08:17 -08:00