x
9785777642
chore: Update copyright license year
...
Happy 2026!
2026-01-01 11:40:45 +00:00
x
8b1759cf93
darkfid: Improve JSONRPC docs
2025-12-29 15:13:08 +00:00
oars
d85cf80dbf
replace log imports with tracing everywhere
2025-11-07 10:15:36 +03:00
skoupidi
400bc43e24
runtime: chore clippy
2025-06-28 17:09:03 +03:00
skoupidi
e1165419e0
chore: use blake3 directly in its Hash wrappers
2025-05-07 11:18:49 +03:00
skoupidi
87c2198552
darkfid: defined loose metering configuration and max bytes limits for protocol messages
2025-04-04 20:09:07 +03:00
skoupidi
6c02b4a450
net/message: optional metering infra for rate limitting added
2025-03-06 20:16:41 +02:00
skoupidi
b27dec9b45
net/message: optional max message bytes limit added
2025-02-28 15:03:35 +02:00
parazyd
604f443fd1
chore: Update license header year
2025-01-24 10:36:02 +01:00
kalm
49f5aaf475
tx: introduce predicate functions to identify PoW reward and single call transactions
...
This commit adds an `is_pow_reward` function to the transaction structure implementation, which indicates if a transaction is a Proof-of-Work (PoW) reward. A function `is_single_call` has also been added that checks if a transaction consists of a single call with non-empty data.
As usage example, updated all validator checks for transaction types to use new predicate functions.
This useful feature enhances our ability to differentiate PoW reward transactions and single call transactions from other transaction types.
2024-10-22 08:11:18 -07:00
skoupidi
6a39547118
chore: clippy too_long_first_doc_paragraph fixed almost everywhere
2024-08-29 17:10:13 +03:00
zero
b6e8c00243
replace all data strings output as [123, 78, ...] with big endian hex strings.
2024-04-02 10:40:56 +02:00
zero
5c9e3bd4a1
tx: change tx.hash() -> Result<blake3::Hash> to tx.hash() -> TransactionHash, by calling .unwrap() on blake3 hasher. This should be safe (see code comment in tx/mod.rs:188 inside fn hash() )
2024-04-01 11:59:17 +02:00
hishope
bd456cb839
chore: fix some typos
...
Signed-off-by: hishope <csqiye@126.com >
2024-03-15 09:53:37 +01:00
parazyd
e33fb55faf
sdk/crypto: Use deterministic nonces for Schnorr signatures
2024-02-20 15:47:34 +01:00
zero
c99186cc73
critical bug: verify_sigs() should also check inner length of vecs
2024-02-01 17:41:16 +01:00
parazyd
61dee47ad1
tx: Improve log messages
2024-01-19 12:40:01 +01:00
parazyd
0e6f51e895
chore: Update copyright year in license headers
2024-01-16 13:07:22 +01:00
x
c3587c0c6f
general cleanup, clippy & update VKS/PKS in test-harness
2023-12-23 13:33:00 +01:00
aggstam
15c44bd7bb
tx: use DarkForest in TransactionBuilder
2023-12-22 20:49:40 +02:00
aggstam
af732f588f
sdk/dark_tree: created DarkForest combining multiple DarkTrees
2023-12-22 20:49:40 +02:00
x
87459ac644
prettify ContractCall and Transaction debug output
2023-12-22 17:59:55 +01:00
x
79d43e61af
Revert "sdk/dark_tree: create fn to shift root in flatten vec to first position"
...
This reverts commit fee3385688 .
2023-12-22 11:04:18 +00:00
aggstam
fee3385688
sdk/dark_tree: create fn to shift root in flatten vec to first position
2023-12-22 01:12:44 +02:00
aggstam
9d8fdb0c3a
contract/test-harness: integrated new TransactionBuilder to consensus and money builders
2023-12-18 16:35:06 +02:00
aggstam
bd86ce5678
tx: use DarkLeaf<ContractCall> in tx calls vec
2023-12-18 16:35:06 +02:00
aggstam
bd3a32ee18
tx: TransactionBuilder created to generate txs using DarkTree
2023-12-18 16:35:06 +02:00
parazyd
64e54f933e
tx: impl_p2p_message for Transaction when "net" feature is defined.
2023-11-21 15:58:08 +01:00
parazyd
8f46f7b777
lib: Clean up library features.
2023-08-29 13:08:35 +02:00
parazyd
2d0e3b0d89
lib: Clean up imports
2023-08-24 15:29:16 +02:00
parazyd
98703d361a
lib: Add necessary traits around for async serial.
2023-08-24 14:27:03 +02:00
aggstam
7a2f07502c
WIP: validator: blockchain rewrite foundation added
2023-06-26 22:02:25 +03:00
aggstam
0afaf50d65
contract/test-harness: integrate new validator
2023-06-23 16:12:14 +03:00
aggstam
dd3d6a15e7
src/validator: set foundation for validator rewrite
2023-06-23 12:49:09 +03:00
parazyd
7364fdd15e
tx: Enable parallelism when hashing transactions with blake3.
...
txs are usually >128KiB so this could be beneficial.
2023-05-26 09:46:04 +02:00
parazyd
4efb0ecf8c
lib: Apply linter suggestions.
2023-03-07 12:29:47 +01:00
parazyd
96c2f8a7d4
tx: Simplify tx::hash
2023-03-06 18:33:53 +01:00
parazyd
473d2f8707
consensus: Dynamically load VerifyingKey for zkas circuits from sled.
2023-03-06 18:33:53 +01:00
x
89736f3f86
add command to simulate tx and show erroneous state for fetch-tx
2023-02-18 15:23:54 +01:00
x
8f964b926b
doc: partial edit of architecture/smart_contracts.md
2023-01-18 11:34:20 +01:00
x
c17fb5ca19
remove retarded 'target: ""' from src/tx/mod.rs
2023-01-02 14:53:45 +01:00
x
5702976798
cleanup logging project wide
2023-01-02 14:47:55 +01:00
parazyd
71cd3064d6
Update license year.
2022-12-28 13:06:00 +01:00
parazyd
9acfed6402
Clippy lints.
2022-12-14 12:30:27 +01:00
parazyd
905586a638
cargo fix
2022-12-07 12:53:52 +01:00
parazyd
2854beb2b2
contract/money: Working darkotc integration tests.
2022-12-05 23:57:14 +01:00
parazyd
ca3c486d76
Move crypto/proof to zk/proof.
2022-11-29 13:53:32 +01:00
aggstam
ffd28c99f7
consensus: cleanup
2022-11-25 19:23:39 +02:00
parazyd
60e6f94edb
consensus/state: Clean up native wasm deploy and verification API.
2022-11-24 12:56:03 +01:00
parazyd
a1a2da8394
contract/money: Finalize integration test with zk proof verification
2022-11-21 17:53:25 +01:00