I'm new to RLP encoding. I'm writing a C++ application in Qt which should send a raw transaction. I installed and compiled the aleth framework. What are the steps to get an RLP encoded string of a JSON?
dev::RLP *m_rlp;
m_rlp = new dev::RLP(json, dev::RLP::VeryStrict);
If I compile and run the application I get the following error:
terminate called after throwing an instance of 'boost::wrapexcept<dev::OversizeRLP>'
what(): /home/damian/src/aleth/libdevcore/RLP.cpp(28): Throw in function dev::RLP::RLP(dev::bytesConstRef, dev::RLP::Strictness)
Dynamic exception type: boost::wrapexcept<dev::OversizeRLP>
[dev::tag_comment*] = Actual size: 1, data size: 10
I'm new to RLP encoding. I'm writing a C++ application in Qt which should send a raw transaction. I installed and compiled the aleth framework. What are the steps to get an RLP encoded string of a JSON?
My JSON looks like this:
I've tried the following:
If I compile and run the application I get the following error: