nimbus-eth1/nimbus/api
Jacek Sieka 3c2daa8b80
Expose simple whisper api to C / go (#331)
* dummy c lib

* go stuffz

* Compile secp

* Compile as shared library

* Build with debug info

* Prelude exposed fns with setupForeignThreadGc() (naive)

To avoid GC/thread issues causing segmentation fault when running from Go.

* Add logging, fix lib path and gomaxprocs to make debuggable

* lock to os thread

* Address basic feedback and mark TODOs

* Use normal secp (shared lib flow now)

* api: cleanup, move to api folder
2019-07-31 10:05:22 +02:00
..
.gitignore Expose simple whisper api to C / go (#331) 2019-07-31 10:05:22 +02:00
README.md Expose simple whisper api to C / go (#331) 2019-07-31 10:05:22 +02:00
build_go.sh Expose simple whisper api to C / go (#331) 2019-07-31 10:05:22 +02:00
build_status_api.sh Expose simple whisper api to C / go (#331) 2019-07-31 10:05:22 +02:00
main.go Expose simple whisper api to C / go (#331) 2019-07-31 10:05:22 +02:00
status_api.c Expose simple whisper api to C / go (#331) 2019-07-31 10:05:22 +02:00
status_api.h Expose simple whisper api to C / go (#331) 2019-07-31 10:05:22 +02:00
status_api.nim Expose simple whisper api to C / go (#331) 2019-07-31 10:05:22 +02:00
status_api.nim.cfg Expose simple whisper api to C / go (#331) 2019-07-31 10:05:22 +02:00

README.md

This folder contains an experimental C API for using parts of the nimbus code from C/go in the status console client:

https://github.com/status-im/status-console-client/

It serves mainly as a proof-of-concept for now - there are several unresolved issues surrounding threading, inter-language communication, callbacks etc.