DLTcollab / tangle-accelerator

Accelerate IOTA transactions by caching API requests and redirecting to faster alternatives
MIT License
23 stars 16 forks source link

feat(Endpoint): Change default serializer to flatbuffer #775

Closed splasky closed 3 years ago

splasky commented 3 years ago

The flatbuffer is a cross platform serializer provides by google. This commit use flatbuffer to replace the default serializer. Using flatbuffer will bring us the following benefits:

  1. Access to serialized data without parsing/unpacking
  2. Memory efficiency and speed
  3. Tiny serialized data size than json

The mbedtls change the source from iota to third pary by git submodule. The endpoint/Makefile will build the static library for endpoint during link time. Will be more easily to use git submodule library than bazel.