65 Commits

Author SHA1 Message Date
Prem Chaitanya Prathi
1e1988967d
chore: make callback functional with nim integration 2024-03-13 13:58:13 +05:30
Prem Chaitanya Prathi
1411f20219
chore:added storage size method 2024-03-11 14:01:21 +05:30
Prem Chaitanya Prathi
c49d60ddee
fix: using stack memory for return 2024-03-09 12:50:16 +05:30
Prem Chaitanya Prathi
b2bc08786b
fix: added functions to cleanup memory 2024-03-07 16:02:47 +05:30
Prem Chaitanya Prathi
1a59da6c32 Merge branch 'leak-fix' into feat/c-wrapper 2024-03-07 10:16:05 +05:30
Prem Chaitanya Prathi
fa14737926
fix: leak in initiate 2024-03-07 09:02:06 +05:30
Prem Chaitanya Prathi
1487908100
chore: added header file to check if it fixes CI build issue 2024-03-06 16:22:19 +05:30
Prem Chaitanya Prathi
f23efbb66c
chore: support a non-callback version of reconcile_with_ids 2024-03-06 05:45:33 +05:30
Prem Chaitanya Prathi
315e1de72e
chore: callback integration in progress 2024-03-05 20:36:35 +05:30
Prem Chaitanya Prathi
8972f3ba69
chore: example code to test C wrapper 2024-03-05 11:27:30 +05:30
Prem Chaitanya Prathi
c38e6e2ed8
chore: add logging and fix some issues 2024-03-04 16:28:35 +05:30
Prem Chaitanya Prathi
97b7ef1156
chore: reverting callback changes 2024-02-22 16:47:07 +05:30
Prem Chaitanya Prathi
34fd921b89
chore: experimenting with callback 2024-02-22 15:19:27 +05:30
Prem Chaitanya Prathi
b467a09940
chore: modify to use struct and fix makefile 2024-02-21 13:45:24 +05:30
Prem Chaitanya Prathi
a736a26532
fix: update reconcile function logic where out params are passed 2024-02-20 17:27:38 +05:30
Prem Chaitanya Prathi
6a317a29f6
fix: protect extern C under ifdef cplusplus 2024-02-19 15:10:31 +05:30
Prem Prathi
89eb17227d
chore: fix wrongly committed file 2024-02-19 04:55:15 +00:00
Prem Chaitanya Prathi
2f09569d1d
chore: fix compilation error in macOS 2024-02-18 08:00:37 +05:30
Prem Prathi
e4edec4e5a
chore: example testing c wrapper 2024-02-17 06:36:08 +00:00
Prem Prathi
68ca46408e
chore: move header inclusions to c file 2024-02-17 06:35:13 +00:00
Prem Chaitanya Prathi
07a159d82f
feat: use BTreeMem to start with and also make C wrapper extern 2024-02-17 07:18:22 +05:30
Prem Chaitanya Prathi
ceaf285f39
chore: fix for mac compilation 2024-02-17 07:00:02 +05:30
Prem Chaitanya Prathi
b729453efd
merge pull request #1 from waku-org/feat/c-wrapper-2
Some refactoring to allow creating libnegentropy.so shared library
2024-02-17 06:55:18 +05:30
Ivan Folgueira Bande
b3e3904356
Some refactoring to allow the creation of shared library 2024-02-16 15:25:39 +01:00
Prem Chaitanya Prathi
27a7a64e09
chore: in progress Makefile 2024-02-16 17:35:02 +05:30
Prem Chaitanya Prathi
d4e6451d67
feat: add reconcile methods 2024-02-16 17:34:49 +05:30
Prem Chaitanya Prathi
d9d750c8c6
chore: move lmdbxx submodule under cpp folder 2024-02-16 15:23:50 +05:30
Prem Chaitanya Prathi
d8d171baa2
feat: add C wrapper and makefile 2024-02-16 15:15:59 +05:30
Prem Chaitanya Prathi
d3463be25d
chore: draft makefile to compile c++ code 2024-02-16 14:16:12 +05:30
Prem Chaitanya Prathi
5cc5cfe82e
chore: add C/C++ gitignore 2024-02-16 14:14:43 +05:30
Doug Hoyte
6e1e6083b9 todo 2023-12-06 21:27:42 -05:00
Doug Hoyte
87964be9ea docs 2023-12-06 21:27:40 -05:00
Doug Hoyte
ed5f8e7e48 js: implement protocol version 1 2023-12-06 17:55:14 -05:00
Doug Hoyte
304779371c cpp: implement protocol version 1 2023-12-06 17:54:57 -05:00
Doug Hoyte
ef8edf52c4 docs 2023-09-21 23:43:13 -04:00
Doug Hoyte
bdd421c1fb docs 2023-09-17 00:58:55 -04:00
Doug Hoyte
a9b9641362 todo 2023-09-16 23:11:54 -04:00
Doug Hoyte
b9c0a0e35d compile C++ test harness with warnings 2023-09-16 22:52:46 -04:00
Doug Hoyte
1d7f733aaf tests for protocol version negotiation 2023-09-16 22:52:46 -04:00
Doug Hoyte
62701affb9 new path for rust harness 2023-09-16 22:52:46 -04:00
Doug Hoyte
22354e0f84 implementation delta-testing, test suite refactor 2023-09-16 22:52:46 -04:00
Doug Hoyte
c3466fc040 JS: protocol version 0 2023-09-16 22:52:44 -04:00
Doug Hoyte
2e90762e3f C++: protocol version 0 2023-09-16 22:52:32 -04:00
Doug Hoyte
ee97beb79b major refactor to JS impl: use SHA-256 as fingerprint function 2023-09-15 00:18:34 -04:00
Doug Hoyte
94c7830f50 major refactor to C++ impl: use SHA-256 as fingerprint function 2023-09-15 00:17:10 -04:00
Doug Hoyte
3876742626 DEBUG env variable, connect rust harness 2023-09-12 16:10:40 -04:00
Doug Hoyte
540753c66a test all lang combinations 2023-09-02 09:47:01 -04:00
Doug Hoyte
7fc18f6fd7 refactor test suites to allow testing one implementation against another 2023-09-02 09:47:01 -04:00
Doug Hoyte
4ef8d9ab5a fix JS test harness, make default test script test both langs 2023-09-02 09:47:01 -04:00
Doug Hoyte
b93ab38e66 docs 2023-09-02 09:46:59 -04:00