Extending Codebase

+2 votes
I am trying to extend the code base to build some transaction validation for both assets and stream. I went through the main.cpp file and changed the CheckTransaction function to include several other checks but I guess that function is not extended to Stream. Could you guide me for stream validation? Should I directly apply validations through RPC files, as I guess those are the files exposed for APIs? Please correct me, if I am wrong.
asked Jan 22, 2018 by Mayank Vijh

1 Answer

0 votes
All stream items are contained within transactions, so you could definitely use this method to perform stream item valuation. You would need to iterate over the transaction outputs, identifying stream items and then applying your rules. I'm afraid that's about as much help as we can give, since it's outside our scope to help people modify the source code.
answered Jan 23, 2018 by MultiChain