404aa63147
Add TransactionBuilder
2019-02-28 08:56:55 -07:00
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
8e4cd6fcc3
Delete leader scheduler artifact
2019-02-28 07:47:37 -08:00
6eb09a6901
Trigger blockstream on full-slot notification (clean up superfluous stuff)
2019-02-28 07:20:16 -07:00
e04d2379df
Remove bank dependency from forward_entries
2019-02-28 07:20:16 -07:00
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
cf545e64b8
xargo requiress sysroot as source to build dependent crates
2019-02-28 00:49:06 -08:00
ac1e266588
Bump rust-bpf to pull in built-in target bpfel-unknown-unknown ( #3001 )
2019-02-28 00:26:50 -08:00
0f2226901d
Fix transaction count after squash
2019-02-27 23:21:49 -08:00
dad1511484
test_bank_squash: validate transaction_count() before/after squashing
2019-02-27 23:21:49 -08:00
05646d72b8
Remove unnecessary fetching of a new last_id
2019-02-27 22:58:59 -08:00
7ccd601100
Remove incorrect file description
2019-02-27 22:36:18 -08:00
d23f8a3e99
increase accounts coverage ( #2993 )
2019-02-27 21:42:14 -08:00
0dc5af62ff
Standardize on 'use log::*' for easy access to all log level macros
2019-02-27 21:16:23 -08:00
855f1823a4
Include solana-logger for use by tests
2019-02-27 21:16:23 -08:00
7fd40f1eb9
add failing test for #2994 ( #2995 )
2019-02-27 20:46:26 -08:00
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
cd976a8082
s/tx/transaction/ for function names
2019-02-27 17:00:10 -08:00
163ed40efb
Send program write transactions concurrently
2019-02-27 17:00:10 -08:00
32aaa5fd06
Derive retry timeout from slot duration
2019-02-27 17:00:10 -08:00
163874d4da
remove purge
parameter to accounts ( #2990 )
2019-02-27 16:06:06 -08:00
873007bae1
Fix tests and move bank dependency slightly
2019-02-27 15:31:23 -08:00
a67a88c8ef
Hoist EntrySender in ReplayStage
2019-02-27 15:31:23 -08:00
6d1b43f1b1
Make leader_schedule a utitlity module named leader_schedule_utils ( #2988 )
2019-02-27 14:41:46 -08:00
3a20a20807
Reintroduce leader_id to blobs ( #2986 )
2019-02-27 13:37:08 -08:00
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
140954a53c
Remove Tpu::is_leader(), fullnode doesn't need it anymore
2019-02-27 11:55:21 -08:00
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
b5d714eec7
Derive retry timeout from slot duration
2019-02-27 11:13:29 -08:00
36cdaffe25
Fix indent
2019-02-27 11:11:24 -08:00
16e2443f61
Remove unnecessary if
2019-02-27 11:06:38 -08:00
9adbc1dd60
nit: always pass &Arc<Bank>, clone() only where consumed
2019-02-27 10:55:43 -08:00
b6ccb475f1
Clarify FIXME source
2019-02-27 10:37:48 -08:00
ca0f16ccc0
Fix test failure
2019-02-27 08:22:52 -08:00
c241a56fb0
Remove extraneous print.
2019-02-27 08:22:52 -08:00
4149f7fd1c
Fix review comments
2019-02-27 08:22:52 -08:00
cc68ecdacf
Use default if previous values do not exist
2019-02-27 08:22:52 -08:00
96b349dcbb
Performance optimizations
2019-02-27 08:22:52 -08:00
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
c46b2541fe
- Fix lock/unlock of accounts
...
- Fix format check warnings
2019-02-27 08:22:52 -08:00
2158ba5863
tx count per fork
2019-02-27 08:22:52 -08:00
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
c276375a0e
Persistent account storage across directories
2019-02-27 08:22:52 -08:00
130563cd4c
AppendVec
2019-02-27 08:22:52 -08:00
9e2a7921c8
Recover from rebase
2019-02-26 22:08:17 -08:00
9539154a4a
Remove test_name arg
2019-02-26 22:08:17 -08:00
84bd9296cd
Centralize unwrap() within create_new_tmp_ledger!
2019-02-26 22:08:17 -08:00
88ecce12a2
No longer need to give new_fullnode() a random string
2019-02-26 22:08:17 -08:00
5a7b99ecc2
Add/employ create_new_tmp_ledger!()
2019-02-26 22:08:17 -08:00
55a76ed4b0
Populate test ledgers with a full slots to reduce test boilerplate
2019-02-26 22:08:17 -08:00