-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
1,380 additions
and
1,052 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2,105 changes: 1,083 additions & 1,022 deletions
2,105
src/omnicore/.deps/libbitcoin_server_a-rpctx.Po
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,31 @@ | ||
#ifndef OMNICORE_RPCTX | ||
#define OMNICORE_RPCTX | ||
|
||
|
||
|
||
#include "rpc/server.h" | ||
#include "wallet/wallet.h" | ||
#include <univalue.h> | ||
|
||
UniValue omni_sendrawtx(const UniValue& params, bool fHelp); | ||
UniValue omni_send(const UniValue& params, bool fHelp); | ||
UniValue omni_sendall(const UniValue& params, bool fHelp); | ||
UniValue omni_senddexsell(const UniValue& params, bool fHelp); | ||
UniValue omni_senddexaccept(const UniValue& params, bool fHelp); | ||
UniValue omni_sendissuancecrowdsale(const UniValue& params, bool fHelp); | ||
UniValue omni_sendissuancefixed(const UniValue& params, bool fHelp); | ||
UniValue omni_sendissuancemanaged(const UniValue& params, bool fHelp); | ||
UniValue omni_sendsto(const UniValue& params, bool fHelp); | ||
UniValue omni_sendgrant(const UniValue& params, bool fHelp); | ||
UniValue omni_sendrevoke(const UniValue& params, bool fHelp); | ||
UniValue omni_sendclosecrowdsale(const UniValue& params, bool fHelp); | ||
UniValue trade_MP(const UniValue& params, bool fHelp); | ||
UniValue omni_sendtrade(const UniValue& params, bool fHelp); | ||
UniValue omni_sendcanceltradesbyprice(const UniValue& params, bool fHelp); | ||
UniValue omni_sendcanceltradesbypair(const UniValue& params, bool fHelp); | ||
UniValue omni_sendcancelalltrades(const UniValue& params, bool fHelp); | ||
UniValue omni_sendchangeissuer(const UniValue& params, bool fHelp); | ||
UniValue omni_sendactivation(const UniValue& params, bool fHelp); | ||
UniValue omni_sendalert(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendrawtx(const UniValue& params, bool fHelp); | ||
UniValue omni_send(const JSONRPCRequest& request); | ||
// UniValue omni_sendall(const UniValue& params, bool fHelp); | ||
// UniValue omni_senddexsell(const UniValue& params, bool fHelp); | ||
// UniValue omni_senddexaccept(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendissuancecrowdsale(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendissuancefixed(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendissuancemanaged(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendsto(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendgrant(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendrevoke(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendclosecrowdsale(const UniValue& params, bool fHelp); | ||
// UniValue trade_MP(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendtrade(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendcanceltradesbyprice(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendcanceltradesbypair(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendcancelalltrades(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendchangeissuer(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendactivation(const UniValue& params, bool fHelp); | ||
// UniValue omni_sendalert(const UniValue& params, bool fHelp); | ||
|
||
#endif // OMNICORE_RPCTX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,239 @@ | ||
/**************************************************************************** | ||
** Meta object code from reading C++ file 'bitcoin.cpp' | ||
** | ||
** | ||
** WARNING! All changes made in this file will be lost! | ||
*****************************************************************************/ | ||
|
||
#if !defined(Q_MOC_OUTPUT_REVISION) | ||
#error "The header file 'bitcoin.cpp' doesn't include <QObject>." | ||
#elif Q_MOC_OUTPUT_REVISION != 63 | ||
#error "This file was generated using the moc from 4.8.7. It" | ||
#error "cannot be used with the include files from this version of Qt." | ||
#error "(The moc has changed too much.)" | ||
#endif | ||
|
||
QT_BEGIN_MOC_NAMESPACE | ||
static const uint qt_meta_data_BitcoinCore[] = { | ||
|
||
// content: | ||
6, // revision | ||
0, // classname | ||
0, 0, // classinfo | ||
5, 14, // methods | ||
0, 0, // properties | ||
0, 0, // enums/sets | ||
0, 0, // constructors | ||
0, // flags | ||
3, // signalCount | ||
|
||
// signals: signature, parameters, type, tag, flags | ||
21, 13, 12, 12, 0x05, | ||
44, 12, 12, 12, 0x05, | ||
69, 61, 12, 12, 0x05, | ||
|
||
// slots: signature, parameters, type, tag, flags | ||
95, 12, 12, 12, 0x0a, | ||
108, 12, 12, 12, 0x0a, | ||
|
||
0 // eod | ||
}; | ||
|
||
static const char qt_meta_stringdata_BitcoinCore[] = { | ||
"BitcoinCore\0\0success\0initializeResult(bool)\0" | ||
"shutdownResult()\0message\0" | ||
"runawayException(QString)\0initialize()\0" | ||
"shutdown()\0" | ||
}; | ||
|
||
void BitcoinCore::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | ||
{ | ||
if (_c == QMetaObject::InvokeMetaMethod) { | ||
Q_ASSERT(staticMetaObject.cast(_o)); | ||
BitcoinCore *_t = static_cast<BitcoinCore *>(_o); | ||
switch (_id) { | ||
case 0: _t->initializeResult((*reinterpret_cast< bool(*)>(_a[1]))); break; | ||
case 1: _t->shutdownResult(); break; | ||
case 2: _t->runawayException((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ||
case 3: _t->initialize(); break; | ||
case 4: _t->shutdown(); break; | ||
default: ; | ||
} | ||
} | ||
} | ||
|
||
const QMetaObjectExtraData BitcoinCore::staticMetaObjectExtraData = { | ||
0, qt_static_metacall | ||
}; | ||
|
||
const QMetaObject BitcoinCore::staticMetaObject = { | ||
{ &QObject::staticMetaObject, qt_meta_stringdata_BitcoinCore, | ||
qt_meta_data_BitcoinCore, &staticMetaObjectExtraData } | ||
}; | ||
|
||
#ifdef Q_NO_DATA_RELOCATION | ||
const QMetaObject &BitcoinCore::getStaticMetaObject() { return staticMetaObject; } | ||
#endif //Q_NO_DATA_RELOCATION | ||
|
||
const QMetaObject *BitcoinCore::metaObject() const | ||
{ | ||
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; | ||
} | ||
|
||
void *BitcoinCore::qt_metacast(const char *_clname) | ||
{ | ||
if (!_clname) return 0; | ||
if (!strcmp(_clname, qt_meta_stringdata_BitcoinCore)) | ||
return static_cast<void*>(const_cast< BitcoinCore*>(this)); | ||
return QObject::qt_metacast(_clname); | ||
} | ||
|
||
int BitcoinCore::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | ||
{ | ||
_id = QObject::qt_metacall(_c, _id, _a); | ||
if (_id < 0) | ||
return _id; | ||
if (_c == QMetaObject::InvokeMetaMethod) { | ||
if (_id < 5) | ||
qt_static_metacall(this, _c, _id, _a); | ||
_id -= 5; | ||
} | ||
return _id; | ||
} | ||
|
||
// SIGNAL 0 | ||
void BitcoinCore::initializeResult(bool _t1) | ||
{ | ||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | ||
QMetaObject::activate(this, &staticMetaObject, 0, _a); | ||
} | ||
|
||
// SIGNAL 1 | ||
void BitcoinCore::shutdownResult() | ||
{ | ||
QMetaObject::activate(this, &staticMetaObject, 1, 0); | ||
} | ||
|
||
// SIGNAL 2 | ||
void BitcoinCore::runawayException(const QString & _t1) | ||
{ | ||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | ||
QMetaObject::activate(this, &staticMetaObject, 2, _a); | ||
} | ||
static const uint qt_meta_data_BitcoinApplication[] = { | ||
|
||
// content: | ||
6, // revision | ||
0, // classname | ||
0, 0, // classinfo | ||
7, 14, // methods | ||
0, 0, // properties | ||
0, 0, // enums/sets | ||
0, 0, // constructors | ||
0, // flags | ||
4, // signalCount | ||
|
||
// signals: signature, parameters, type, tag, flags | ||
20, 19, 19, 19, 0x05, | ||
42, 19, 19, 19, 0x05, | ||
62, 19, 19, 19, 0x05, | ||
82, 75, 19, 19, 0x05, | ||
|
||
// slots: signature, parameters, type, tag, flags | ||
115, 107, 19, 19, 0x0a, | ||
138, 19, 19, 19, 0x0a, | ||
163, 155, 19, 19, 0x0a, | ||
|
||
0 // eod | ||
}; | ||
|
||
static const char qt_meta_stringdata_BitcoinApplication[] = { | ||
"BitcoinApplication\0\0requestedInitialize()\0" | ||
"requestedShutdown()\0stopThread()\0" | ||
"window\0splashFinished(QWidget*)\0success\0" | ||
"initializeResult(bool)\0shutdownResult()\0" | ||
"message\0handleRunawayException(QString)\0" | ||
}; | ||
|
||
void BitcoinApplication::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | ||
{ | ||
if (_c == QMetaObject::InvokeMetaMethod) { | ||
Q_ASSERT(staticMetaObject.cast(_o)); | ||
BitcoinApplication *_t = static_cast<BitcoinApplication *>(_o); | ||
switch (_id) { | ||
case 0: _t->requestedInitialize(); break; | ||
case 1: _t->requestedShutdown(); break; | ||
case 2: _t->stopThread(); break; | ||
case 3: _t->splashFinished((*reinterpret_cast< QWidget*(*)>(_a[1]))); break; | ||
case 4: _t->initializeResult((*reinterpret_cast< bool(*)>(_a[1]))); break; | ||
case 5: _t->shutdownResult(); break; | ||
case 6: _t->handleRunawayException((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ||
default: ; | ||
} | ||
} | ||
} | ||
|
||
const QMetaObjectExtraData BitcoinApplication::staticMetaObjectExtraData = { | ||
0, qt_static_metacall | ||
}; | ||
|
||
const QMetaObject BitcoinApplication::staticMetaObject = { | ||
{ &QApplication::staticMetaObject, qt_meta_stringdata_BitcoinApplication, | ||
qt_meta_data_BitcoinApplication, &staticMetaObjectExtraData } | ||
}; | ||
|
||
#ifdef Q_NO_DATA_RELOCATION | ||
const QMetaObject &BitcoinApplication::getStaticMetaObject() { return staticMetaObject; } | ||
#endif //Q_NO_DATA_RELOCATION | ||
|
||
const QMetaObject *BitcoinApplication::metaObject() const | ||
{ | ||
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; | ||
} | ||
|
||
void *BitcoinApplication::qt_metacast(const char *_clname) | ||
{ | ||
if (!_clname) return 0; | ||
if (!strcmp(_clname, qt_meta_stringdata_BitcoinApplication)) | ||
return static_cast<void*>(const_cast< BitcoinApplication*>(this)); | ||
return QApplication::qt_metacast(_clname); | ||
} | ||
|
||
int BitcoinApplication::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | ||
{ | ||
_id = QApplication::qt_metacall(_c, _id, _a); | ||
if (_id < 0) | ||
return _id; | ||
if (_c == QMetaObject::InvokeMetaMethod) { | ||
if (_id < 7) | ||
qt_static_metacall(this, _c, _id, _a); | ||
_id -= 7; | ||
} | ||
return _id; | ||
} | ||
|
||
// SIGNAL 0 | ||
void BitcoinApplication::requestedInitialize() | ||
{ | ||
QMetaObject::activate(this, &staticMetaObject, 0, 0); | ||
} | ||
|
||
// SIGNAL 1 | ||
void BitcoinApplication::requestedShutdown() | ||
{ | ||
QMetaObject::activate(this, &staticMetaObject, 1, 0); | ||
} | ||
|
||
// SIGNAL 2 | ||
void BitcoinApplication::stopThread() | ||
{ | ||
QMetaObject::activate(this, &staticMetaObject, 2, 0); | ||
} | ||
|
||
// SIGNAL 3 | ||
void BitcoinApplication::splashFinished(QWidget * _t1) | ||
{ | ||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | ||
QMetaObject::activate(this, &staticMetaObject, 3, _a); | ||
} | ||
QT_END_MOC_NAMESPACE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.