417 Commits

Author SHA1 Message Date
b4dcadbb34 docs: alignement complet sur le niveau de documentation de 4NK_node - Correction de l'INDEX.md pour sdk_common (au lieu de 4NK_node) - Transformation complète de l'INSTALLATION.md pour bibliothèque Rust (au lieu de Docker) - Remplacement total de l'USAGE.md pour SDK commun (compilation, intégration, types) - Transformation complète de l'ARCHITECTURE.md pour bibliothèque commune (types, traits, utils) - Documentation spécifique au développement de bibliothèque Rust - Structure cohérente et navigation intuitive - Guides pratiques et techniques complets pour sdk_common 2025-08-27 13:58:01 +02:00
ae95dbfaeb feat: préparation open source et documentation complète - Ajout de la structure open source (LICENSE, CONTRIBUTING, etc.) - Documentation complète - Configuration CI/CD avec Gitea Actions - Structure de documentation alignée avec 4NK_node 2025-08-27 13:58:01 +02:00
1992dee608 Configuration pour dev3.4nkweb.com - mise à jour des types de synchronisation 2025-08-27 13:58:00 +02:00
Sosthene
cef215056a set sp_client to dev 2025-08-27 13:58:00 +02:00
Sosthene
3cdb044e1b Update Cargo file 2025-08-27 13:58:00 +02:00
Sosthene
e4492e9ada Add wasm feature 2025-08-27 13:58:00 +02:00
Sosthene
0dc6f2a4bc checkout 4nk sp_client branch 2025-08-27 13:57:59 +02:00
Sosthene
90dfb8017e Cargo fmt 2025-08-27 13:57:59 +02:00
Sosthene
6344d6454a Add get_sp_wallet to Device 2025-08-27 13:57:59 +02:00
Sosthene
7e885ef66d Add check_inputs 2025-08-27 13:57:59 +02:00
Sosthene
02d0f2d44e Add mark_output_spend and update mark_output_mined 2025-08-27 13:57:59 +02:00
Sosthene
9b5a67fc13 Add updates mod 2025-08-27 13:57:59 +02:00
Sosthene
5b454c8158 Add mark_output_mined to SpWallet 2025-08-27 13:57:59 +02:00
Sosthene
6e3a13554c Add chain_tip to HandshakeMessage and rm SyncMessage 2025-08-27 13:57:58 +02:00
5447e1c06c Add sync logic to handshake message 2025-08-27 13:57:58 +02:00
Sosthene
f4e441f436 Update tests 2025-08-27 13:57:58 +02:00
Sosthene
4671eea753 Update ProcessState implementation with new serialization 2025-08-27 13:57:58 +02:00
Sosthene
0109b6ba51 Rm all ciborium code from pcd 2025-08-27 13:57:58 +02:00
Sosthene
ac39fc5b7c Add get_as methods for Pcd 2025-08-27 13:57:58 +02:00
Sosthene
f8b46420c8 Use PcdSerializable in TryFrom impl for Pcd 2025-08-27 13:57:58 +02:00
Sosthene
132565e0b5 Define and implement PcdSerializable trait 2025-08-27 13:57:58 +02:00
Sosthene
f2a51aa6af Add const PCD_VERSION and ZSTD_COMPRESSION_LEVEL 2025-08-27 13:57:57 +02:00
Sosthene
04735183b4 Replace ciborium with zstd 2025-08-27 13:57:57 +02:00
Sosthene
338d62b126 Don't force ProcessState::public_data type to Record<string, string> 2025-08-27 13:57:57 +02:00
Sosthene
b656531dd1 Add verify_merkle_proof() 2025-08-27 13:57:57 +02:00
Sosthene
8868529963 Various minor fixes 2025-08-27 13:57:57 +02:00
Sosthene
cadc098883 Make FileBlob pub and reexport js_sys 2025-08-27 13:57:57 +02:00
2fc10321f2 Make ciborium serialize generic 2025-08-27 13:57:57 +02:00
eab279acab Move hashing into hash mod and refactor hash code 2025-08-27 13:57:57 +02:00
e6ec17158e Add const ROLESLABEL 2025-08-27 13:57:57 +02:00
b4491d6d60 Add hash mod 2025-08-27 13:57:56 +02:00
1929153e8c Add is_empty method to Roles 2025-08-27 13:57:56 +02:00
8a95dbffda Separate handling of the files data when encoding pcd 2025-08-27 13:57:56 +02:00
f905d8c6b5 reexport dependencies 2025-08-27 13:57:56 +02:00
78bdcc2e13 update ProcessState tests 2025-08-27 13:57:56 +02:00
5cc5eaa4a2 Update ProcessState 2025-08-27 13:57:56 +02:00
2ee37599ed Update pcd tests 2025-08-27 13:57:56 +02:00
d37c0829f0 Add ciborium_serialize helper functions 2025-08-27 13:57:55 +02:00
b5c1c1ea79 Pcd is BTreeMap<String, Vec<u8>> 2025-08-27 13:57:55 +02:00
4f758d981c Add ciborium 2025-08-27 13:57:55 +02:00
ec66bf7ce8 SpWallet in Device 2025-08-27 13:57:55 +02:00
8e7bc05e76 Add SpWallet 2025-08-27 13:57:55 +02:00
db3db3a497 create_transaction deep refactoring 2025-08-27 13:57:55 +02:00
a433400dd4 Don't only look last output for commitments 2025-08-27 13:57:55 +02:00
9ffd5229fc Rm obsolete tests 2025-08-27 13:57:54 +02:00
dada38ba0e [bug] actually handle demiurge case 2025-08-27 13:57:54 +02:00
45b2dc1e43 Add TsUnsignedTransaction (wrapper type) 2025-08-27 13:57:54 +02:00
b61cc90ede Add get_balance to Device 2025-08-27 13:57:54 +02:00
6a2be13b7c Add outputs to Device 2025-08-27 13:57:54 +02:00
8eb3baaf9f Upgrade to latest sp_client 2025-08-27 13:57:54 +02:00