26 Commits

Author SHA1 Message Date
Jack May
b6d09f1901
Add BPF program entrypoint return type (#8111) 2020-02-04 12:25:42 -08:00
Jack May
dd276138c2
Add support for idiomatic error handling to BPF instruction processors (#7968) 2020-01-30 09:47:22 -08:00
Jack May
1596c961d9
Rust BPF program cleanup (#7990) 2020-01-27 18:27:44 -08:00
Jack May
917067741a
Cleanup BPF SDK (#7965) 2020-01-24 13:41:14 -08:00
Jack May
0d16db2d1b
Remove bloat due to test symbols (#5965) 2019-09-18 19:54:10 -07:00
Jack May
008dcd71b9
BPF loader message nits (#5870) 2019-09-10 16:13:23 -07:00
Jack May
1833db51a5
Cleanup program account def (#5833) 2019-09-06 17:32:14 -07:00
Justin Starry
81c36699c4
Add support for BPF program custom errors (#5743)
* Add support for BPF program custom errors

* Rename SOL_SUCCESS -> SUCCESS
2019-09-06 16:05:01 -07:00
Jack May
4c4b7d39b8
Cleanup program's ProcessInstruction (#5828) 2019-09-06 14:44:41 -07:00
Jack May
d9817c153a
Switch programs to use Pubkey from SolPubkey (#5821) 2019-09-06 12:40:01 -07:00
Jack May
e5f902369c
Rust BPF programs depend on Solana SDK (#5819) 2019-09-06 09:20:14 -07:00
Jack May
5fb2d7a98f
Add libstd support to Rust BPF (#5788) 2019-09-04 16:00:11 -07:00
Jack May
f9a2254688
Split out Rust BPF no-std stuff (#4968) 2019-07-08 20:28:05 -08:00
Jack May
e59b53dfa8
BPF rust language updates (#4752) 2019-06-20 16:07:12 -07:00
Jack May
b430762a23
check rust programs (#4688) 2019-06-20 07:43:31 -07:00
Tyera Eulberg
64e8a21d73
Add tick height syscall (#4497)
* Remove tick_height from entrypoint signature

* Impl tick_height syscall and use in storage program

* Properly remove tick height from bpf handling
2019-05-31 16:29:21 -06:00
Jack May
2f7561e4ee
Split SDK's BPF Rust-utils (#4369) 2019-05-21 13:39:27 -07:00
Jack May
bc74ee7117
Common Rust-BPF utilities and types (#4325) 2019-05-17 11:04:29 -07:00
Greg Fitzgerald
51a2988bb2
Revert "Rename programs to instruction_processors (#3789)" (#3824)
This reverts commit 34344982a985046eb337100afa101cb28709b004.
2019-04-17 15:05:49 -06:00
Amr Ali
34344982a9
Rename programs to instruction_processors (#3789)
* Rename programs to instruction_processors

* Updates around the code base to support instruction_processors rename

* Kabab instruction_processors

* Update Cargo.toml files and scripts to use instruction-processors

* Update Cargo.toml to use instruction-processors

* Update CI scripts to use instruction-processors
2019-04-16 22:39:00 +02: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
Michael Vines
e2d30db7e1 Rename tokens to lamports 2019-03-05 17:56:44 -08:00
Jack May
b9524217fe
Update rust example to use BPF enabled infrastructure (#2974) 2019-02-28 22:05:11 -08:00
jackcmay
a461c5682d
First stab at Rust BPF (#2269)
First stab at Rust BPF
2019-01-02 15:12:42 -08:00
Michael Vines
60f3aeb4ef clippy fix 2018-12-13 23:40:26 -08:00
jackcmay
3488ea7d1c
Cleanup c programs (#1620)
Cleanup C programs
2018-10-26 19:38:07 -07:00