Raven Core
3.0.0
P2P Digital Currency
|
#include "streams.h"
#include "version.h"
#include "assets/assets.h"
#include "script.h"
#include "tinyformat.h"
#include "utilstrencodings.h"
#include "standard.h"
Go to the source code of this file.
Functions | |
const char * | GetOpName (opcodetype opcode) |
bool | GetAssetAmountFromScript (const CScript &script, CAmount &nAmount) |
--------------------------------------------------------------------------------------------------------------------——!// These are needed because script.h and script.cpp do not have access to asset.h and asset.cpp functions. More... | |
bool | ScriptNewAsset (const CScript &scriptPubKey, int &nStartingIndex) |
bool | ScriptTransferAsset (const CScript &scriptPubKey, int &nStartingIndex) |
bool | ScriptReissueAsset (const CScript &scriptPubKey, int &nStartingIndex) |
bool | AmountFromNewAssetScript (const CScript &scriptPubKey, CAmount &nAmount) |
bool | AmountFromTransferScript (const CScript &scriptPubKey, CAmount &nAmount) |
bool | AmountFromReissueScript (const CScript &scriptPubKey, CAmount &nAmount) |
Definition at line 530 of file script.cpp.
Definition at line 574 of file script.cpp.
Definition at line 552 of file script.cpp.
--------------------------------------------------------------------------------------------------------------------——!// These are needed because script.h and script.cpp do not have access to asset.h and asset.cpp functions.
These are needed because script.h and script.cpp do not have access to asset.h and asset.cpp functions.
This is because the make file compiles them at different times. The script files are compiled with other consensus files, and asset files are compiled with core files. Used to check if an asset script contains zero assets. Is so, it should be unspendable
Definition at line 461 of file script.cpp.
const char* GetOpName | ( | opcodetype | opcode | ) |
RVN START
RVN END
Definition at line 15 of file script.cpp.
bool ScriptNewAsset | ( | const CScript & | scriptPubKey, |
int & | nStartingIndex | ||
) |
Definition at line 496 of file script.cpp.
bool ScriptReissueAsset | ( | const CScript & | scriptPubKey, |
int & | nStartingIndex | ||
) |
Definition at line 518 of file script.cpp.
bool ScriptTransferAsset | ( | const CScript & | scriptPubKey, |
int & | nStartingIndex | ||
) |
Definition at line 507 of file script.cpp.