Support unconfirmed transactions via omni_gettransaction
Support unconfirmed transactions via omni_gettransaction

The fields were slightly reordered, to group related values, and the fields "blockhash" and "block" were added.

Only if a transaction is confirmed, the fields "valid", "blockhash", "blocktime" and "block" are included. Unconfrimed DEx payments are rejected, indicating that the transaction is unconfrimed. Because the effect on the global state is only avaiable for confirmed transacitons, the extended mode, which is usually interacting with global state, is downgraded to basic mode, if the transaction is unconfirmed. This has impact on "omni_getsto" or "omni_gettrade", but in any case, the basic mode also returns at least the information that would be available via the pending map.

OmniLayer/omnicore,OmniLayer/omnicore,OmniLayer/omnicore,OmniLayer/omnicore,OmniLayer/omnicore,OmniLayer/omnicore