Commit Graph

1004 Commits

Author SHA1 Message Date
8638b3bb19 Update Cargo.toml files for version = 0.14.0 2019-04-16 02:50:20 +00:00
a28c3b0e9a Consume Bank in BankClient
This will allow BankClient to spin up a thread to use the Bank.
It'll also ease the transaction from BankClient to ThinClient since
it won't let you depend on Bank.

Drawback, you the transition from Bank to BankClient will be harder
because the Bank methods are inaccessible.
2019-04-11 12:16:33 -07:00
d0f46d6a8a Cleanup client traits and create super trait (#3728) 2019-04-11 00:25:14 -07:00
7295a84d69 Bump bincode from 1.1.2 to 1.1.3 (#3672)
Bumps [bincode](https://github.com/TyOverby/bincode) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/TyOverby/bincode/releases)
- [Commits](https://github.com/TyOverby/bincode/compare/v1.1.2...v1.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-08 12:55:18 -07:00
5cd7bccdf3 Add SyncClient and use from BankClient 2019-04-04 12:00:19 -06:00
3fc09fb23f Remove keypairs from BankClient
Bring its interface closer to the other clients.
2019-03-27 09:37:19 -06:00
d2415613de Migrate loader tests to BankClient 2019-03-21 09:19:24 -06:00
e091aa87ea More precise constructor names 2019-03-15 14:46:44 -06:00
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
6899bd7099 0.13.0 2019-03-11 16:21:19 -07:00
195a880576 pass Pubkeys as refs, copy only where values needed (#3213)
* pass Pubkeys as refs, copy only where values needed

* Pubkey is pervasive

* fixup
2019-03-09 19:28:43 -08:00
e2d30db7e1 Rename tokens to lamports 2019-03-05 17:56:44 -08:00
3129e299e4 Rename tokens to lamports in programs/ 2019-03-05 17:56:44 -08:00
03d6c9a552 Defeature bpf_loader; bpf_{c,rust} features now confined to programs/bpf 2019-03-04 11:02:37 -08:00
fc5fcd6cd4 Move native_loader into solana_runtime 2019-03-03 10:59:08 -07:00
b8b7de5522 Script can now be run from any directory 2019-03-02 22:11:48 -08:00
109101c2dc Cleanup features and fix build errors 2019-03-02 22:11:48 -08:00
41b5899856 Move programs/Cargo.toml into bpf/ 2019-03-02 22:11:48 -08:00
b9524217fe Update rust example to use BPF enabled infrastructure (#2974) 2019-02-28 22:05:11 -08:00
ba5077701d Avoid possible simplified lowering of passed struct (#2938) 2019-02-25 17:05:59 -08:00
5f565c92c9 cargo incremental builds breaks Rust BPF, locally disable it (#2674) 2019-02-06 13:59:10 -08:00
a0bc8b8af3 BPF programs can support up to 5 arguments (#2528) 2019-01-23 09:55:08 -08:00
a6773ad442 Specify entrypoint when building rust programs 2019-01-14 20:13:01 -08:00
e9a0b3a8f3 Add BPF-to-BPF and PC relative call tests (#2395) 2019-01-11 19:33:08 -08:00
23c43ed21b Multi-file BPF C builds (#2393) 2019-01-11 15:33:21 -08:00
a461c5682d First stab at Rust BPF (#2269)
First stab at Rust BPF
2019-01-02 15:12:42 -08:00
0e567381fb v0.12.0 2018-12-19 17:03:28 -08:00
60f3aeb4ef clippy fix 2018-12-13 23:40:26 -08:00
092edabd2d Add homepage field to all crates 2018-12-13 22:25:27 -08:00
cefbb7c27d Fix shared object relcations with multiple static arrays (#2121) 2018-12-12 08:41:45 -08:00
935524f20c Fix eh frame relocation (#2109)
* Exclude .eh_frame
2018-12-11 12:14:41 -08:00
e3dfd7b1ab Allow BPF structure passing and returning (#2100)
* Add BPF struct passing and returning tests
2018-12-11 09:03:37 -08:00
e52f3f34a4 Autoinstall dependencies in the SDK itself 2018-12-01 10:47:59 -08:00
7c3e6e8e86 Move bpf-sdk to sdk/bpf 2018-12-01 10:47:59 -08:00
b00011a3f1 Use custom LLVM (#1971)
BPF SDK uses custom LLVM
2018-11-30 14:33:29 -08:00
bad0b55ab6 Expose which keys signed the Transaction in the SDK 2018-11-30 08:16:23 -08:00
0c091c1b24 Dockerized LLVM (#1914)
Optionally build with dockererized custom llvm
2018-11-28 14:41:53 -08:00
83c0711760 Rename SolKeyedAccounts to SolKeyedAccount 2018-11-27 15:36:04 -08:00
ec0a56cb9c Tokens are unsigned 2018-11-27 10:14:37 -08:00
f0d24a68ee Configure -rpath to locate libcriterion 2018-11-26 21:16:42 -08:00
c7f678688d Stub out log functions when building tests 2018-11-26 15:41:49 -08:00
7bf4c08f70 Add BPF C unittest framework 2018-11-26 12:25:29 -08:00
826ac80e62 Avoid subverting bool return value 2018-11-26 09:11:40 -08:00
4506584c48 Employ stdbool.h, add stub wchar.h 2018-11-26 09:11:40 -08:00
c1af48bd85 Rename program_id => owner 2018-11-18 16:24:13 -08:00
3822c29415 Route program_id to program entrypoint 2018-11-17 19:42:03 -08:00
201a4b7b2a Advance input pointer correctly 2018-11-17 10:30:21 -08:00
39c87fd103 Add BPF benchmarks 2018-11-14 12:06:06 -08:00
2ad2fdd235 Remove inline simple program to avoid maintenance burden 2018-11-14 10:39:22 -08:00
1fda4b77ef Expose tick_height to bpf programs 2018-11-14 10:33:27 -08:00