416 Commits

Author SHA1 Message Date
Sosthene
d909905917 js feature of getrandom for wasm build 2025-08-18 10:59:11 +02:00
Sosthene
e2369eaf6f Merge branch 'blindbit' into dev 2025-08-18 10:58:31 +02:00
Sosthene
684b71e00c Update tests 2025-07-15 11:26:56 +02:00
Sosthene
1e73a9aa1d Cargo fmt 2025-07-15 11:26:56 +02:00
Sosthene
ab8d556ad7 Update ProcessState implementation with new serialization 2025-07-15 11:26:56 +02:00
Sosthene
9a5ce7f5e2 Add get_sp_wallet to Device 2025-07-15 11:26:56 +02:00
Sosthene
e77d27e0e4 Rm all ciborium code from pcd 2025-07-15 11:26:56 +02:00
Sosthene
a7de9b1107 Add check_inputs 2025-07-15 11:26:56 +02:00
Sosthene
b5ac0584ed Add get_as methods for Pcd 2025-07-15 11:26:56 +02:00
Sosthene
4ce434d642 Add mark_output_spend and update mark_output_mined 2025-07-15 11:26:56 +02:00
Sosthene
e0bc9e9036 Use PcdSerializable in TryFrom impl for Pcd 2025-07-15 11:26:56 +02:00
Sosthene
b14a37a32a Add updates mod 2025-07-15 11:26:56 +02:00
Sosthene
14603debb2 Define and implement PcdSerializable trait 2025-07-15 11:26:56 +02:00
Sosthene
b52468e987 Add mark_output_mined to SpWallet 2025-07-15 11:26:56 +02:00
Sosthene
d55855710d Add const PCD_VERSION and ZSTD_COMPRESSION_LEVEL 2025-07-15 11:26:56 +02:00
Sosthene
af3f1879f9 Add chain_tip to HandshakeMessage and rm SyncMessage 2025-07-15 11:26:56 +02:00
Sosthene
8ab1a7db71 Replace ciborium with zstd 2025-07-15 11:26:56 +02:00
92c777dbef Add sync logic to handshake message 2025-07-15 11:26:56 +02:00
Sosthene
1c159806d9 Don't force ProcessState::public_data type to Record<string, string> 2025-07-15 11:22:05 +02:00
Sosthene
e5802d2855 Add verify_merkle_proof() 2025-06-30 19:41:43 +02:00
Sosthene
3c89b0fb7f Various minor fixes 2025-06-23 17:39:24 +02:00
Sosthene
dd6d93cd34 Make FileBlob pub and reexport js_sys 2025-06-17 15:17:18 +02:00
41b288eed6 Make ciborium serialize generic 2025-06-06 22:45:34 +02:00
58730c48f4 Move hashing into hash mod and refactor hash code 2025-06-06 22:45:17 +02:00
a3cf2517b3 Add const ROLESLABEL 2025-06-06 22:44:24 +02:00
f4baef4145 Add hash mod 2025-06-06 22:44:12 +02:00
d256ac7074 Add is_empty method to Roles 2025-06-06 12:47:55 +02:00
7264e64a4a Separate handling of the files data when encoding pcd 2025-06-06 12:47:34 +02:00
204211f3a3 reexport dependencies 2025-06-03 18:14:49 +02:00
304b1d0cc9 update ProcessState tests 2025-06-03 18:13:16 +02:00
e05929ace1 Update ProcessState 2025-06-03 18:13:06 +02:00
e7df62f9cd Update pcd tests 2025-06-03 18:12:13 +02:00
208449eb72 Add ciborium_serialize helper functions 2025-06-03 18:05:04 +02:00
cded679f4f Pcd is BTreeMap<String, Vec<u8>> 2025-06-03 18:04:27 +02:00
774d675d9c Add ciborium 2025-06-03 18:02:01 +02:00
985e6dcdc9 SpWallet in Device 2025-04-08 16:01:16 +02:00
d69d179439 Add SpWallet 2025-04-08 16:00:39 +02:00
ed78b370fc create_transaction deep refactoring 2025-04-08 16:00:25 +02:00
daff63113a Don't only look last output for commitments 2025-04-08 15:59:49 +02:00
0eaa4497d1 Rm obsolete tests 2025-04-08 15:59:17 +02:00
339b88c785 [bug] actually handle demiurge case 2025-04-05 18:34:55 +02:00
9293a3f5d1 Add TsUnsignedTransaction (wrapper type) 2025-04-04 12:47:42 +02:00
d008101ea9 Add get_balance to Device 2025-04-04 12:47:14 +02:00
f89b79ab5e Add outputs to Device 2025-04-03 15:56:37 +02:00
c3b24b754c Upgrade to latest sp_client 2025-04-03 14:52:18 +02:00
3985896d91 OutPointProcessMap PcdCommitments serialization 2025-04-03 14:52:18 +02:00
a686870e08 Update process tests 2025-03-26 12:38:30 +01:00
0175c793bb ProcessState new slight refactor 2025-03-26 12:38:17 +01:00
78dfebd71a Update dependencies 2025-03-26 12:38:03 +01:00
2d226392dc Add extract_paired_addresses 2025-03-26 12:37:37 +01:00