parazyd
5a526fe10e
swapd: Add project skeleton
2023-12-07 23:43:45 +01:00
parazyd
b2c4000477
rpc/server: Print info log on client disconnect
2023-12-07 23:43:45 +01:00
y
0c469fb3b7
sdk-util: formatting
2023-12-07 16:03:37 -05:00
y
14661fb3f7
sdk-util: Add size limits on data; comment code
...
Change `data.len() as u32` to `u32::try_from`. This will return an error
in the case where the length of the data exceeds u32. (Using an `as`
conversion will cause the value to overflow and write the wrong amount
of data).
Add a new ContractError enum `DataTooLarge` to handle this case.
Add a similar check to the `parse_ret` auxiliary function to ensure the
ret i64 fits into the u32 type.
Add code comments to the utility functions to explain what they do.
2023-12-07 15:58:26 -05:00
y
8f735dd650
event_graph: Make error msg more clear
...
Change wording and code comment to make it clear that the requested
event comes from a peer, and not the local node
2023-12-07 15:13:50 -05:00
y
1c290a5caa
doc: Update wasm interaction docs
...
Replace references to i32 to i64 now that the return types have been
changed.
2023-12-07 15:11:08 -05:00
y
dbba9ac939
runtime: Use deserialize instead of Cursor
...
Modify the zkas_db_set function to use deserialize instead of Cursor.
This provides stronger validation on the data passed to the function
2023-12-07 12:20:16 -05:00
y
753d01b249
runtime/sdk: change return types from i32 to i64
2023-12-07 11:57:08 -05:00
y
facbc1fc38
runtime: cleanup db_contains_key, zkas_db_set
2023-12-07 10:39:38 -05:00
parazyd
0950990086
research/pqxdh: Port X3DH to post-quantum key agreement protocol.
2023-12-07 09:40:01 +01:00
dark-john
bc201bce5b
Added missing g++ package to dependency_setup.sh for Debian/Ubuntu distros. ( #242 )
2023-12-06 21:13:44 +00:00
aggstam
1b4fcf8baa
script/research/dark-forest: appending functionality along with optional capacity added
2023-12-06 22:07:21 +02:00
aggstam
95b9caf1c4
script/research/dark-forest: indexes integrity check added
2023-12-06 22:07:21 +02:00
aggstam
1a931959ba
script/research/dark-forest: indexes setup added
2023-12-06 22:07:21 +02:00
y
e02fd444cd
runtime: Cleanup db_get() and db_del()
2023-12-06 14:06:01 -05:00
y
ae9a904c3d
runtime: db_set cleanup
...
Also fix some typos in db_lookup
2023-12-06 11:40:00 -05:00
y
126915ce53
runtime: Resolve Cursor TODO in db_lookup
...
Also refactor the param `len` to `ptr_len` to be consistent with db_init
2023-12-06 10:54:49 -05:00
y
0d0f4e861d
runtime: cleanup db_lookup
...
- Add comments to make operations more clear
- Change logging structure to be more detailed
- Resolve TODO concerning duplicated DbHandles
2023-12-05 15:23:47 -05:00
aggstam
fd18a912b0
script/research/dark-forest: more complex tree structure added in test
2023-12-05 20:22:54 +02:00
aggstam
e45d983a9e
script/research/dark-forest: cleanup on aisle 5
2023-12-05 19:15:38 +02:00
aggstam
5101709f1c
script/research/dark-forest: document everything
2023-12-05 19:13:16 +02:00
aggstam
71f2c8de64
script/research/dark-forest: chore fmt
2023-12-05 18:13:00 +02:00
aggstam
405afdd48f
script/research/dark-forest: moved DarkTreeIntoIter at bottom of file
2023-12-05 18:07:28 +02:00
aggstam
35c6ae0fe7
script/research/dark-forest: proper traversal order tests
2023-12-05 15:26:20 +02:00
aggstam
e111d1f046
script/research/dark-forest: WIP implementation of a forest/tree with DFS post order traversal
2023-12-05 14:47:43 +02:00
parazyd
295c8dcff9
chore: Update crate dependencies
2023-12-04 19:58:59 +01:00
parazyd
df0992b5f7
mmproxy: Deduplicate and clean up code
2023-12-04 19:51:39 +01:00
parazyd
d04e58c199
mmproxy: Make sure there is no mismatch between mmproxy and XMR networks.
2023-12-04 13:58:53 +01:00
parazyd
8b615e99b6
mmproxy: Working daemon-mode mining
2023-12-04 12:12:58 +01:00
parazyd
c1adcbd68b
mmproxy: Comment out the default configurations
2023-12-04 10:17:07 +01:00
parazyd
1929788105
mmproxy: Make the daemon config file nicer
2023-12-04 10:14:05 +01:00
Dark John
d9f676d8b3
Added cmake and libclang-dev to the dependency_setup.sh for Debian/Ubuntu apt distros. I needed these when building against a vanilla 23.10 Ubuntu installation.
2023-12-04 08:53:31 +00:00
Dastan-glitch
3caabbd48c
apps using eventgraph to have similar default datastore path
2023-12-02 23:23:29 +03:00
Dastan-glitch
7940ad5e58
bin/darkirc: config's commented datastore path to match the actual default value
2023-12-02 23:21:54 +03:00
x
4528a0f582
book/sc: modify it to support depth first verification of leaves
2023-12-02 07:47:56 +01:00
x
32f2803a3c
book/sc: add some interesting links
2023-12-01 16:45:13 +01:00
parazyd
0fc67d63b6
runtime: Clean up db/db_init()
2023-12-01 15:05:32 +01:00
x
a225b41ef1
deprecate DEP 0002
2023-12-01 13:06:05 +01:00
x
fe43e2a923
book/sc: include info from discussion about state changes when invoke() is called
2023-12-01 13:02:03 +01:00
parazyd
047a1e99da
mmproxy: Rewrite daemon for solomining support.
...
The Stratum stuff works for pools only.
2023-12-01 12:25:41 +01:00
parazyd
6da3a4b637
rpc: Avoid a panic in TryFrom<&JsonValue> for JsonResponse
2023-12-01 12:25:36 +01:00
x
98783fc020
book/sc: add section on EventEmitter
2023-12-01 10:02:17 +01:00
x
4ecbac6012
doc/sc: add ABI section on calldata inspection
2023-12-01 08:20:57 +01:00
x
2346a1cb9e
doc/sc: add section on ABI
2023-12-01 08:17:15 +01:00
x
9b5dd4c44b
book/sc: invoke() add info on downsides of listed approach
2023-12-01 08:03:36 +01:00
x
3c3da00ac4
book/sc: invoke()
2023-12-01 07:59:32 +01:00
x
40635ff3e7
book: add smart contract wishlist
2023-11-30 18:13:02 +01:00
aggstam
bb99e816f2
validator: removed RwLock over whole struct ptr and moved to inner stuff
2023-11-30 18:44:24 +02:00
x
0c9c0891b8
book: arch/dao.md add section on generalizing the DAO calling mechanism
2023-11-30 10:52:13 +01:00
x
e53a87ba75
doc book: add DAO explainer
2023-11-30 10:41:36 +01:00