In PR we enable support for long messages, up to 16KB, by using nvram.
Introduced new buffering.c file that contains logic for writing to a default, small buffer (512 bytes) in ram and switching to nvram if data is bigger.
Added bunch of unit tests to validate buffering behavior plus integration test in goclient to test long messages directly in the ledger.
In PR we enable support for long messages, up to 16KB, by using nvram.
Introduced new buffering.c file that contains logic for writing to a default, small buffer (512 bytes) in ram and switching to nvram if data is bigger.
Added bunch of unit tests to validate buffering behavior plus integration test in goclient to test long messages directly in the ledger.