Commit Graph

54 Commits

Author SHA1 Message Date
Richard Patel cddcfc155d cmd: add initial gossip pull 2022-09-08 19:40:32 +02:00
Richard Patel b4c108cc5c gossip: add CrdsFilter 2022-09-08 18:58:15 +02:00
Richard Patel 6bad7ba959 gossip: add Crds Pubkey accessor 2022-09-08 18:57:57 +02:00
Richard Patel 9a94d4e982 gossip: add interim Transaction deserializer 2022-09-08 18:57:34 +02:00
Richard Patel 52f8bf1a1b gossip: rename Client => Driver 2022-09-08 18:57:07 +02:00
Richard Patel 27a52d3407 gossip: refactor into network-agnostic state machine
- Adds network-agnostic gossip message RX multiplexer
- Adds PingServer and PingClient with blocking-style API
- simplify cmd/gossip/ping
2022-09-08 13:37:59 +02:00
Richard Patel 5a9f2ba9ab gossip: add message fixtures from turbine-go
https://github.com/terorie/turbine-go
2022-09-08 11:30:48 +02:00
Richard Patel ef899f77f0 gossip: move BitVec to bitvec.go 2022-09-08 11:19:40 +02:00
Richard Patel 5c2c172dcc gossip: use netip.AddrPort 2022-09-08 11:19:15 +02:00
Richard Patel 7b0291dd85 gossip: improve schema 2022-09-08 10:42:11 +02:00
Richard Patel 275d51581c gossip: port more bloom tests 2022-09-08 10:30:54 +02:00
Richard Patel 7438e31fef sealevel: fix tests 2022-09-08 10:06:49 +02:00
Richard Patel 1e5e1b9f78 gossip: add bloom filter 2022-09-08 10:06:42 +02:00
Richard Patel b7be6db636 gossip: add all data types 2022-09-07 08:14:26 +02:00
Richard Patel 90498bde79 gossip: add ping tool
- Adds serde-generate based code generation for messages
- Adds gossip ping command-line tool

Closes https://github.com/certusone/radiance/issues/14
2022-09-06 03:07:42 +02:00
Richard Patel 713f6eeec3 sealevel: more log syscalls 2022-09-05 10:37:23 +02:00
Richard Patel 5d11c3c465 sealevel: run Pyth Oracle program 2022-09-05 10:28:08 +02:00
Richard Patel 0a3c7853fd sealevel: use JSON-based test framework 2022-09-05 10:16:52 +02:00
Richard Patel a940a46699 sealevel: run SPL token program 2022-09-05 09:39:40 +02:00
Richard Patel ce9887728d sbf: add disassembler 2022-09-05 09:34:37 +02:00
Richard Patel 2cc227561e sealevel, sbf: run SPL memo program 2022-09-05 00:28:39 +02:00
Richard Patel 8fb540af70 sealevel: add params serializer
Copied from https://github.com/terorie/sealevel-go
2022-09-04 21:50:20 +02:00
Richard Patel 69819dc852 sbf: add stack 2022-09-04 21:49:44 +02:00
Richard Patel 196e826d6b sbf: hello world 2022-09-04 18:40:18 +02:00
Richard Patel c3c4f02ef1 sbf: move ELFs to fixtures 2022-09-04 18:40:18 +02:00
Richard Patel 2ff0ca6127 sbf/interpreter: implement memory 2022-09-04 18:40:18 +02:00
Richard Patel b8beab2b81 sbf: add interpreter 2022-09-04 18:40:18 +02:00
Richard Patel 4eff1263c5 sbf: add verifier 2022-09-03 08:49:13 +02:00
Richard Patel 980712188b sbf: initial reloc support 2022-09-03 07:53:58 +02:00
Richard Patel d3d1d516f8 sbf: add opcodes 2022-09-03 06:45:26 +02:00
Richard Patel 36288397bd sbf: add section loader 2022-09-03 06:05:26 +02:00
Richard Patel 9e81eea4ff sbf: rename loader.go -> parse.go 2022-09-03 06:05:26 +02:00
Richard Patel 819eddb239 nftables: go fmt 2022-09-02 03:57:08 +02:00
Richard Patel ae44b84bc5 sbf: move loader to subpackage 2022-09-02 03:56:08 +02:00
Richard Patel 8cd54f8e82 sbf: finish ELF parser 2022-09-02 03:56:08 +02:00
Richard Patel fade5aa0b8 sbf: add ELF section parser 2022-09-02 03:56:08 +02:00
Richard Patel cc798726bc sbf: add noop.so load test 2022-09-02 03:56:08 +02:00
Richard Patel 9ba4b60ee8 sbf: add test .so files from solana-labs/rbpf
see https://github.com/solana-labs/rbpf/tree/main/tests/elfs
2022-09-02 03:56:08 +02:00
Richard Patel 3230b09ec7 sbf: add ELF parser
Adds the first half of the ELF parser implementation,
based on Solana's new restricted SBFv2 ELF parser.
2022-09-02 03:56:08 +02:00
Leopold Schabel ba621b953e cmd/rpc/txd: fix rpc.Client leaks 2022-06-23 22:18:36 +02:00
Leopold Schabel dccb8adf29 cmd/rpc/txd: blockhash tracking 2022-06-23 15:43:29 +02:00
Leopold Schabel a4ff232b04 cmd/rpc/txd: leader tracking 2022-06-23 10:02:48 +02:00
Leopold Schabel 5ccaffd284 pkg/envfile: node filtering helpers 2022-06-22 22:04:06 +02:00
Leopold Schabel c795f21c20 cmd/rpc/slots: add kafka publishing 2022-06-16 02:13:17 +02:00
Leopold Schabel 4cfb389389 pkg/leaderschedule: use RWMutex for bySlot 2022-06-15 23:54:35 +02:00
Leopold Schabel 08c41f8446 proto: use buf-compliant paths 2022-06-15 23:47:26 +02:00
Leopold Schabel 8356f43d60 Move leader schedule tracker to pkg/leaderschedule 2022-06-15 23:47:22 +02:00
Leopold Schabel bc5912e237 cmd/rpc/slots: add 2022-06-12 22:48:37 +02:00
Leopold Schabel 740786206b pkg/ledger_bigtable: refactor to MainnetClient 2022-04-19 15:35:40 +02:00
Leopold Schabel 8372e80256 pkg/ledger_bigtable: add bigtable fetcher 2022-04-19 15:27:18 +02:00