Bitcoin Forum
June 24, 2024, 02:46:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] #3 [XUN] UltraNote is READY, Everyone is welcome to mine. on: April 13, 2019, 12:05:30 PM
Hi there,

We are integrating Ultranote in our project. It's a "Multi-Coin Wallet". We are using the paymentgate.md and 'PaymentGate' directory in 'src' from the official github account as reference. We are using walletd.

The issue is about retrieving transactions. We were expecting an equivalent of "listtransactions" method from bitcoin's API. But at best we got 'getTransactions' which need in turn needs three parameters [address, firstblockindex, blockcount]. While using this method we get a long list of blocks and then our transactions somewhere within some of those blocks.

Now our query is, "How do we find which are sent and which are received transactions. As these is no particular field mentioning sent or received type.

Any kind of help and guidance is really appreciated. Regards
2  Alternate cryptocurrencies / Altcoin Discussion / Solution to this error is nowhere on Internet!!?? on: January 22, 2019, 06:55:38 PM
Hi folks,

I am trying to cross compile windows wallet for an altcoin, the altcoin is POS and uses the zercoin protocol. I was able to recitfy the small level errors during compilation, but then I got an error which is nowhere mentioned on internet on any forum or any support page. It dispalys:

Code:
i686-w64-mingw32-g++ -c -O3 -msse2 -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -frandom-seed=wwtccoin -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DSTATICLIB -DUSE_UPNP=0 -I"/home/ubuntu/build/wwtccoin/src/leveldb/include" -I"/home/ubuntu/build/wwtccoin/src/leveldb/helpers" -DHAVE_BUILD_INFO -I"/home/ubuntu/build/wwtccoin/src" -I"/home/ubuntu/build/wwtccoin/src"/obj -I"/home/ubuntu/staging/include" -I"/home/ubuntu/staging" -o obj/zerocoin/Accumulator.o zerocoin/Accumulator.cpp
i686-w64-mingw32-g++ -c -O3 -msse2 -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -frandom-seed=wwtccoin -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DSTATICLIB -DUSE_UPNP=0 -I"/home/ubuntu/build/wwtccoin/src/leveldb/include" -I"/home/ubuntu/build/wwtccoin/src/leveldb/helpers" -DHAVE_BUILD_INFO -I"/home/ubuntu/build/wwtccoin/src" -I"/home/ubuntu/build/wwtccoin/src"/obj -I"/home/ubuntu/staging/include" -I"/home/ubuntu/staging" -o obj/zerocoin/AccumulatorProofOfKnowledge.o zerocoin/AccumulatorProofOfKnowledge.cpp
Assembler messages:
Fatal error: can't create obj/zerocoin/Accumulator.o: No such file or directory
make: *** [obj/zerocoin/Accumulator.o] Error 1
make: *** Waiting for unfinished jobs....
Assembler messages:
Fatal error: can't create obj/zerocoin/AccumulatorProofOfKnowledge.o: No such file or directory
make: *** [obj/zerocoin/AccumulatorProofOfKnowledge.o] Error

I even tried creating directory obj/zercoin before running the build script, but the error seems to be going nowhere!!!

One possible hinit I got from this website (https://sourceforge.net/p/mingw-w64/bugs/689/), but am not sure about this. Anyone who has any idea please guide me, any kind of help is highly appreciated.

Regards
3  Other / Beginners & Help / Re: Windows compilation error! Help Needed on: January 18, 2019, 04:42:55 PM
Don't have much knowledge on Linux but I search it on google and found a post that I think it can help you guide how to compile a windows wallet with gitian builder.

Check this Trying to compile a wallet with gitian but i am getting a error help please.

and look for a guide below OP's post.

Hi thank you for your effort, but I can't find solution to my problem in the guide you are referring to. But still I really appreciate your help. Regards
4  Other / Beginners & Help / Windows compilation error! Help Needed on: January 18, 2019, 12:37:05 PM
Hi guys, I am typing to compile windows wallet for a coin using gitian builder, but I am getting this error:

/home/ubuntu/build/isibeli/src/leveldb/libleveldb.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
make[1]: *** [release/Isibeli-qt.exe] Error 1
make[1]: Leaving directory `/home/ubuntu/build/isibeli'
make: *** [release] Error 2

This is my qt pro file:

TEMPLATE = app
TARGET = Isibeli-qt
macx:TARGET = "Isibeli-Qt"
VERSION = 1.0
INCLUDEPATH += src src/json src/qt
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
CONFIG += no_include_pwd
CONFIG += thread



# for boost 1.37, add -mt to the boost libraries
# use: qmake BOOST_LIB_SUFFIX=-mt
# for boost thread win32 with _win32 sufix
# use: BOOST_THREAD_LIB_SUFFIX=_win32-...
# or when linking against a specific BerkelyDB version: BDB_LIB_SUFFIX=-4.8

# Dependency library locations can be customized with:
#    BOOST_INCLUDE_PATH, BOOST_LIB_PATH, BDB_INCLUDE_PATH,
#    BDB_LIB_PATH, OPENSSL_INCLUDE_PATH and OPENSSL_LIB_PATH respectively

OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build

# use: qmake "RELEASE=1"
contains(RELEASE, 1) {
    # Mac: compile for maximum compatibility (10.5, 32-bit)
    macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
    macx:QMAKE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
    macx:QMAKE_OBJECTIVE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk

    !win32:!macx {
        # Linux: static link and extra security (see: https://wiki.debian.org/Hardening)
        LIBS += -Wl,-Bstatic -Wl,-z,relro -Wl,-z,now
    }
}

!win32 {
    # for extra security against potential buffer overflows: enable GCCs Stack Smashing Protection
    QMAKE_CXXFLAGS *= -fstack-protector-all
    QMAKE_LFLAGS *= -fstack-protector-all
    # Exclude on Windows cross compile with MinGW 4.2.x, as it will result in a non-working executable!
    # This can be enabled for Windows, when we switch to MinGW >= 4.4.x.
}
# for extra security (see: https://wiki.debian.org/Hardening): this flag is GCC compiler-specific
QMAKE_CXXFLAGS *= -D_FORTIFY_SOURCE=2
# for extra security on Windows: enable ASLR and DEP via GCC linker flags
win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat
# on Windows: enable GCC large address aware linker flag
win32:QMAKE_LFLAGS *= -Wl,--large-address-aware
# i686-w64-mingw32
win32:QMAKE_LFLAGS *= -static-libgcc -static-libstdc++

# use: qmake "USE_QRCODE=1"
# libqrencode (http://fukuchi.org/works/qrencode/index.en.html) must be installed for support
contains(USE_QRCODE, 1) {
    message(Building with QRCode support)
    DEFINES += USE_QRCODE
    LIBS += -lqrencode
}

# use: qmake "USE_UPNP=1" ( enabled by default; default)
#  or: qmake "USE_UPNP=0" (disabled by default)
#  or: qmake "USE_UPNP=-" (not supported)
# miniupnpc (http://miniupnp.free.fr/files/) must be installed for support
contains(USE_UPNP, -) {
    message(Building without UPNP support)
} else {
    message(Building with UPNP support)
    count(USE_UPNP, 0) {
        USE_UPNP=1
    }
    DEFINES += USE_UPNP=$$USE_UPNP STATICLIB
    INCLUDEPATH += $$MINIUPNPC_INCLUDE_PATH
    LIBS += $$join(MINIUPNPC_LIB_PATH,,-L,) -lminiupnpc
    win32:LIBS += -liphlpapi
}

# use: qmake "USE_DBUS=1"
contains(USE_DBUS, 1) {
    message(Building with DBUS (Freedesktop notifications) support)
    DEFINES += USE_DBUS
    QT += dbus
}

# use: qmake "USE_IPV6=1" ( enabled by default; default)
#  or: qmake "USE_IPV6=0" (disabled by default)
#  or: qmake "USE_IPV6=-" (not supported)
contains(USE_IPV6, -) {
    message(Building without IPv6 support)
} else {
    count(USE_IPV6, 0) {
        USE_IPV6=1
    }
    DEFINES += USE_IPV6=$$USE_IPV6
}

contains(BITCOIN_NEED_QT_PLUGINS, 1) {
    DEFINES += BITCOIN_NEED_QT_PLUGINS
    QTPLUGIN += qcncodecs qjpcodecs qtwcodecs qkrcodecs qtaccessiblewidgets
}

INCLUDEPATH += src/leveldb/include src/leveldb/helpers
LIBS += $$PWD/src/leveldb/libleveldb.a $$PWD/src/leveldb/libmemenv.a
!win32 {
    # we use QMAKE_CXXFLAGS_RELEASE even without RELEASE=1 because we use RELEASE to indicate linking preferences not -O preferences
    genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a libmemenv.a
} else {
    # make an educated guess about what the ranlib command is called
    isEmpty(QMAKE_RANLIB) {
        QMAKE_RANLIB = $$replace(QMAKE_STRIP, strip, ranlib)
    }
    LIBS += -lshlwapi
    genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX TARGET_OS=OS_WINDOWS_CROSSCOMPILE $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a libmemenv.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libleveldb.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libmemenv.a
}
genleveldb.target = $$PWD/src/leveldb/libleveldb.a
genleveldb.depends = FORCE
PRE_TARGETDEPS += $$PWD/src/leveldb/libleveldb.a
QMAKE_EXTRA_TARGETS += genleveldb
# Gross ugly hack that depends on qmake internals, unfortunately there is no other way to do it.
QMAKE_CLEAN += $$PWD/src/leveldb/libleveldb.a; cd $$PWD/src/leveldb ; $(MAKE) clean

# regenerate src/build.h
!win32|contains(USE_BUILD_INFO, 1) {
    genbuild.depends = FORCE
    genbuild.commands = cd $$PWD; /bin/sh share/genbuild.sh $$OUT_PWD/build/build.h
    genbuild.target = $$OUT_PWD/build/build.h
    PRE_TARGETDEPS += $$OUT_PWD/build/build.h
    QMAKE_EXTRA_TARGETS += genbuild
    DEFINES += HAVE_BUILD_INFO
}

QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector

# Input
DEPENDPATH += src src/json src/qt
HEADERS += src/qt/bitcoingui.h \
    src/qt/transactiontablemodel.h \
    src/qt/addresstablemodel.h \
    src/qt/optionsdialog.h \
    src/qt/sendcoinsdialog.h \
    src/qt/coincontroldialog.h \
    src/qt/coincontroltreewidget.h \
    src/qt/addressbookpage.h \
    src/qt/signverifymessagedialog.h \
    src/qt/aboutdialog.h \
    src/qt/editaddressdialog.h \
    src/qt/bitcoinaddressvalidator.h \
    src/alert.h \
    src/addrman.h \
    src/base58.h \
    src/bignum.h \
    src/checkpoints.h \
    src/coincontrol.h \
    src/compat.h \
    src/sync.h \
    src/util.h \
    src/hash.h \
    src/uint256.h \
    src/serialize.h \
    src/main.h \
    src/net.h \
    src/key.h \
    src/db.h \
    src/walletdb.h \
    src/script.h \
    src/init.h \
    src/bloom.h \
    src/mruset.h \
    src/checkqueue.h \
    src/json/json_spirit_writer_template.h \
    src/json/json_spirit_writer.h \
    src/json/json_spirit_value.h \
    src/json/json_spirit_utils.h \
    src/json/json_spirit_stream_reader.h \
    src/json/json_spirit_reader_template.h \
    src/json/json_spirit_reader.h \
    src/json/json_spirit_error_position.h \
    src/json/json_spirit.h \
    src/qt/clientmodel.h \
    src/qt/guiutil.h \
    src/qt/transactionrecord.h \
    src/qt/guiconstants.h \
    src/qt/optionsmodel.h \
    src/qt/monitoreddatamapper.h \
    src/qt/transactiondesc.h \
    src/qt/transactiondescdialog.h \
    src/qt/bitcoinamountfield.h \
    src/wallet.h \
    src/keystore.h \
    src/qt/transactionfilterproxy.h \
    src/qt/transactionview.h \
    src/qt/walletmodel.h \
    src/qt/walletview.h \
    src/qt/walletstack.h \
    src/qt/walletframe.h \
    src/bitcoinrpc.h \
    src/qt/overviewpage.h \
    src/qt/csvmodelwriter.h \
    src/crypter.h \
    src/qt/sendcoinsentry.h \
    src/qt/qvalidatedlineedit.h \
    src/qt/bitcoinunits.h \
    src/qt/qvaluecombobox.h \
    src/qt/askpassphrasedialog.h \
    src/protocol.h \
    src/qt/notificator.h \
    src/qt/paymentserver.h \
    src/allocators.h \
    src/ui_interface.h \
    src/qt/rpcconsole.h \
    src/version.h \
    src/netbase.h \
    src/clientversion.h \
    src/txdb.h \
    src/leveldb.h \
    src/threadsafety.h \
    src/limitedmap.h \
    src/qt/macnotificationhandler.h \
    src/qt/splashscreen.h \
    src/hashblock.h \
    src/sph_blake.h \
    src/sph_skein.h \
    src/sph_keccak.h \
    src/sph_jh.h \
    src/sph_groestl.h \
    src/sph_bmw.h \
    src/sph_types.h \
    src/sph_luffa.h \
    src/sph_cubehash.h \
    src/sph_echo.h \
    src/sph_shavite.h \
    src/sph_simd.h

SOURCES += src/qt/bitcoin.cpp \
    src/qt/bitcoingui.cpp \
    src/qt/transactiontablemodel.cpp \
    src/qt/addresstablemodel.cpp \
    src/qt/optionsdialog.cpp \
    src/qt/sendcoinsdialog.cpp \
    src/qt/coincontroldialog.cpp \
    src/qt/coincontroltreewidget.cpp \
    src/qt/addressbookpage.cpp \
    src/qt/signverifymessagedialog.cpp \
    src/qt/aboutdialog.cpp \
    src/qt/editaddressdialog.cpp \
    src/qt/bitcoinaddressvalidator.cpp \
    src/alert.cpp \
    src/version.cpp \
    src/sync.cpp \
    src/util.cpp \
    src/hash.cpp \
    src/netbase.cpp \
    src/key.cpp \
    src/script.cpp \
    src/main.cpp \
    src/init.cpp \
    src/net.cpp \
    src/bloom.cpp \
    src/checkpoints.cpp \
    src/addrman.cpp \
    src/db.cpp \
    src/walletdb.cpp \
    src/qt/clientmodel.cpp \
    src/qt/guiutil.cpp \
    src/qt/transactionrecord.cpp \
    src/qt/optionsmodel.cpp \
    src/qt/monitoreddatamapper.cpp \
    src/qt/transactiondesc.cpp \
    src/qt/transactiondescdialog.cpp \
    src/qt/bitcoinstrings.cpp \
    src/qt/bitcoinamountfield.cpp \
    src/wallet.cpp \
    src/keystore.cpp \
    src/qt/transactionfilterproxy.cpp \
    src/qt/transactionview.cpp \
    src/qt/walletmodel.cpp \
    src/qt/walletview.cpp \
    src/qt/walletstack.cpp \
    src/qt/walletframe.cpp \
    src/bitcoinrpc.cpp \
    src/rpcdump.cpp \
    src/rpcnet.cpp \
    src/rpcmining.cpp \
    src/rpcwallet.cpp \
    src/rpcblockchain.cpp \
    src/rpcrawtransaction.cpp \
    src/qt/overviewpage.cpp \
    src/qt/csvmodelwriter.cpp \
    src/crypter.cpp \
    src/qt/sendcoinsentry.cpp \
    src/qt/qvalidatedlineedit.cpp \
    src/qt/bitcoinunits.cpp \
    src/qt/qvaluecombobox.cpp \
    src/qt/askpassphrasedialog.cpp \
    src/protocol.cpp \
    src/qt/notificator.cpp \
    src/qt/paymentserver.cpp \
    src/qt/rpcconsole.cpp \
    src/noui.cpp \
    src/leveldb.cpp \
    src/txdb.cpp \
    src/qt/splashscreen.cpp \
    src/blake.c \
    src/bmw.c \
    src/groestl.c \
    src/jh.c \
    src/keccak.c \
    src/skein.c \
    src/luffa.c \
    src/cubehash.c \
    src/shavite.c \
    src/echo.c \
    src/simd.c

RESOURCES += src/qt/bitcoin.qrc

FORMS += src/qt/forms/sendcoinsdialog.ui \
    src/qt/forms/coincontroldialog.ui \
    src/qt/forms/addressbookpage.ui \
    src/qt/forms/signverifymessagedialog.ui \
    src/qt/forms/aboutdialog.ui \
    src/qt/forms/editaddressdialog.ui \
    src/qt/forms/transactiondescdialog.ui \
    src/qt/forms/overviewpage.ui \
    src/qt/forms/sendcoinsentry.ui \
    src/qt/forms/askpassphrasedialog.ui \
    src/qt/forms/rpcconsole.ui \
    src/qt/forms/optionsdialog.ui

contains(USE_QRCODE, 1) {
HEADERS += src/qt/qrcodedialog.h
SOURCES += src/qt/qrcodedialog.cpp
FORMS += src/qt/forms/qrcodedialog.ui
}

contains(BITCOIN_QT_TEST, 1) {
SOURCES += src/qt/test/test_main.cpp \
    src/qt/test/uritests.cpp
HEADERS += src/qt/test/uritests.h
DEPENDPATH += src/qt/test
QT += testlib
TARGET = Isibeli-qt_test
DEFINES += BITCOIN_QT_TEST
  macx: CONFIG -= app_bundle
}

# Todo: Remove this line when switching to Qt5, as that option was removed
CODECFORTR = UTF-8

# for lrelease/lupdate
# also add new translations to src/qt/bitcoin.qrc under translations/
TRANSLATIONS = $$files(src/qt/locale/bitcoin_*.ts)

isEmpty(QMAKE_LRELEASE) {
    win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
    else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
}
isEmpty(QM_DIR):QM_DIR = $$PWD/src/qt/locale
# automatically build translations, so they can be included in resource file
TSQM.name = lrelease ${QMAKE_FILE_IN}
TSQM.input = TRANSLATIONS
TSQM.output = $$QM_DIR/${QMAKE_FILE_BASE}.qm
TSQM.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT}
TSQM.CONFIG = no_link
QMAKE_EXTRA_COMPILERS += TSQM

# "Other files" to show in Qt Creator
OTHER_FILES += README.md \
    doc/*.rst \
    doc/*.txt \
    doc/*.md \
    src/qt/res/bitcoin-qt.rc \
    src/test/*.cpp \
    src/test/*.h \
    src/qt/test/*.cpp \
    src/qt/test/*.h

# platform specific defaults, if not overridden on command line
isEmpty(BOOST_LIB_SUFFIX) {
    macx:BOOST_LIB_SUFFIX = -mt
    win32:BOOST_LIB_SUFFIX = -mgw44-mt-s-1_50
}

isEmpty(BOOST_THREAD_LIB_SUFFIX) {
    BOOST_THREAD_LIB_SUFFIX = $$BOOST_LIB_SUFFIX
}

isEmpty(BDB_LIB_PATH) {
    macx:BDB_LIB_PATH = /opt/local/lib/db48
}

isEmpty(BDB_LIB_SUFFIX) {
    macx:BDB_LIB_SUFFIX = -4.8
}

isEmpty(BDB_INCLUDE_PATH) {
    macx:BDB_INCLUDE_PATH = /opt/local/include/db48
}

isEmpty(BOOST_LIB_PATH) {
    macx:BOOST_LIB_PATH = /opt/local/lib
}

isEmpty(BOOST_INCLUDE_PATH) {
    macx:BOOST_INCLUDE_PATH = /opt/local/include
}

win32:DEFINES += WIN32
win32:RC_FILE = src/qt/res/bitcoin-qt.rc

win32:!contains(MINGW_THREAD_BUGFIX, 0) {
    # At least qmake's win32-g++-cross profile is missing the -lmingwthrd
    # thread-safety flag. GCC has -mthreads to enable this, but it doesn't
    # work with static linking. -lmingwthrd must come BEFORE -lmingw, so
    # it is prepended to QMAKE_LIBS_QT_ENTRY.
    # It can be turned off with MINGW_THREAD_BUGFIX=0, just in case it causes
    # any problems on some untested qmake profile now or in the future.
    DEFINES += _MT
    QMAKE_LIBS_QT_ENTRY = -lmingwthrd $$QMAKE_LIBS_QT_ENTRY
}

!win32:!macx {
    DEFINES += LINUX
    LIBS += -lrt
    # _FILE_OFFSET_BITS=64 lets 32-bit fopen transparently support large files.
    DEFINES += _FILE_OFFSET_BITS=64
}

macx:HEADERS += src/qt/macdockiconhandler.h src/qt/macnotificationhandler.h
macx:OBJECTIVE_SOURCES += src/qt/macdockiconhandler.mm src/qt/macnotificationhandler.mm
macx:LIBS += -framework Foundation -framework ApplicationServices -framework AppKit -framework CoreServices
macx:DEFINES += MAC_OSX MSG_NOSIGNAL=0
macx:ICON = src/qt/res/icons/bitcoin.icns
macx:QMAKE_CFLAGS_THREAD += -pthread
macx:QMAKE_LFLAGS_THREAD += -pthread
macx:QMAKE_CXXFLAGS_THREAD += -pthread
macx:QMAKE_INFO_PLIST = share/qt/Info.plist

# Set libraries and includes at end, to use platform-defined defaults if not overridden
INCLUDEPATH += $$BOOST_INCLUDE_PATH $$BDB_INCLUDE_PATH $$OPENSSL_INCLUDE_PATH $$QRENCODE_INCLUDE_PATH
LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB_PATH,,-L,) $$join(QRENCODE_LIB_PATH,,-L,)
LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
# -lgdi32 has to happen after -lcrypto (see  #681)
win32:LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32
LIBS += -lboost_system$$BOOST_LIB_SUFFIX -lboost_filesystem$$BOOST_LIB_SUFFIX -lboost_program_options$$BOOST_LIB_SUFFIX -lboost_thread$$BOOST_THREAD_LIB_SUFFIX
win32:LIBS += -lboost_chrono$$BOOST_LIB_SUFFIX
macx:LIBS += -lboost_chrono$$BOOST_LIB_SUFFIX

contains(RELEASE, 1) {
    !win32:!macx {
        # Linux: turn dynamic linking back on for c/c++ runtime libraries
        LIBS += -Wl,-Bdynamic
    }
}

system($$QMAKE_LRELEASE -silent $$TRANSLATIONS)

I am stuck for three days, any help is hihgly appreciated. Regards
5  Other / Beginners & Help / Re: POS and Masternode Fork Guide on: November 27, 2018, 05:24:18 AM
I'm sure there is some information out there but in order to get better help maybe you can change your subject line first.
Maybe add something like "Looking for POS and Masternode Fork Guide" in the beginning of the title. You will get more exposure that way and maybe a good answer to your question.


Thank you I will surely do that.
6  Other / Beginners & Help / Looking for POS and Masternode Fork Guide on: November 26, 2018, 11:59:03 AM
Hi there for a while I am forking scrypt(litecoin 0.Cool and X11(darkcoin 0.9.1.2) based POW coins. I want to learn to fork POS and masternode coin like Dash. Is there any specific guide or tutorial which is out there for reference.

Urgent Help Needed.

Thanks in Advance
7  Alternate cryptocurrencies / Altcoin Discussion / How to start mining in POW/POS Coins on: November 19, 2018, 06:39:19 AM
Hi there for a while I am cloning scrypt and X11 POW coins. There I used to start mining with this command setgenerate true -1. Now I am thinking to clone this POW/POS coin: https://github.com/kobocoin/Kobocoin . But I really can't figure out how to start mining here as this coin isn't running mining command.


Help and suggestions really appreciated.

Warm Regards
8  Other / Beginners & Help / Re: RPC accounts are not working Properly on: October 27, 2018, 08:52:23 AM

Try to start your restored wallet with -rescan, this will rescan the chain for any transactions your wallet.db backup had missed.

HTH

I did added rescan=1 in my configuration file in data directory, but it seems to be going nowhere.
9  Other / Beginners & Help / RPC accounts are not working Properly on: October 27, 2018, 07:34:59 AM
Hi there,

I have made an altcoin as a college project. The coin is based on litecon 0.8. I am using it with RPC feature using cli wallet for last 2 months and have around 150 users who do some minor and major transactions each day. Everything was working fine until I ecrypted my wallet. After 2 days of encryptiom i realized that RPC is not working due to encryption (as wallet needs to be unlocked for performing any action). So I restored 2 days old wallet.dat file.

Now theoritically I knew that if I restore old wallet.dat it won't affect any balance. But all of sudden some balances are negative (like from 98 it changed to -295962.45329679) and some balance have changed. I am looking for balances using listaccounts api call.

One last thing, I have a backup script which takes backup everyday. But wallet.dat file from different days is showing different balances.

Urgent Help needed, please help me.

10  Bitcoin / Bitcoin Technical Support / Negative Balance in RPC Accounts on: October 24, 2018, 06:52:37 AM
 Hi There,

I am using bitcoin core with RPC and have linked few accounts to it. When I run "listaccounts" command via bitcoin-cli, it gives following output:

{
  "": 0.00000000,
  "5ab4aafee94ff2258d2237a5": 0.01493139,
  "LABELPREFIX5ae21dd9bb5c583ec41732ae": 0.00000000,
  "LABELPREFIX5ae21de2bb5c583ec41732af": 0.00000000,
"LABELPREFIX5ae457e0bb5c583ec41732cd": -0.00588460,
  "LABELPREFIX5ae45999bb5c583ec41732d1": -0.00107414,

  "LABELPREFIX5ae6b2fcbb5c583ec41732e3": 0.00000000,
 "LABELPREFIX5ae86a453c74bc56539edbcd": -0.00144921,
  "LABELPREFIX5ae95e845e4db63ceb8b72e0": 0.00000000,
  "LABELPREFIX5aefffce0f96522e2658640a": 0.00000000,
  "LABELPREFIX5af000590f96522e2658640b": 0.00000000,
  "LABELPREFIX5af004350f96522e2658641b": 0.00000000,
  "LABELPREFIX5af004a70f96522e2658641f": 0.00000000,
  "LABELPREFIX5af0054e0f96522e26586422": 0.00000000,
  "LABELPREFIX5af008f00f96522e26586429": 0.00000000,
  "LABELPREFIX5af012010f96522e2658642e": 0.00000000,
  "LABELPREFIX5af013df0f96522e2658642f": 0.00000000,
  "LABELPREFIX5af025f60f96522e2658643c": 0.00000000,
  "LABELPREFIX5af0267d0f96522e2658643f": 0.00000000,
  "LABELPREFIX5af0295e0f96522e26586443": 0.00000000,
  "LABELPREFIX5af02a220f96522e26586447": 0.00000000,
  "LABELPREFIX5afd9be466270076e8aab970": 0.00000000,
  "LABELPREFIX5b05806e66270076e8aab9e8": 0.00000000,
  "LABELPREFIX5b05a9d666270076e8aaba18": 0.00000000,
  "LABELPREFIX5b0a43830153e23d9ee80064": 0.00000000,
  "LABELPREFIX5b0bcdd109b9224736c9b36f": 0.00000000,
 "LABELPREFIX5b17865709b9224736c9b3e5": -0.00652344,
  "LABELPREFIX5b1f714509b9224736c9b426": 0.00000000,
  "LABELPREFIX5b58638830db55306b567116": 0.00000000,
  "test": 0.00000000
}

I can't understand why these four accounts have negative balance. And when I add all these negative balances, outcome is this  "5ab4aafee94ff2258d2237a5": 0.01493139, balance.

Help in all ways is highly appreciated. God Bless You
11  Bitcoin / Bitcoin Technical Support / wallet.dat file or Private Keys, What to Backup? on: October 24, 2018, 06:37:01 AM
Hi there,

I am a newbie to Bitcoin and am using bitcoin core CLI for a while. I know that it's very important to take backups.

What should I take backup of:

wallet.dat file

or

Private Keys

or

Both
---------------------------------------------

And in how many days I should take backup. And how I can make recovery of my balance in both cases if my node goes down.

Help really-really needed. Thanks in advance.
12  Bitcoin / Bitcoin Technical Support / Messy Private Keys Dump on: October 11, 2018, 05:57:17 PM
Hi there,

Could anyone explain me how to export and import bitcoin's private keys in bitcoin core. I have exported private keys, it's a text file and have something like:

# Wallet dump created by Bitcoin v0.16.0
# * Created on 2018-10-08T10:01:00Z
# * Best block at time of backup was 544879 (00000000000000000010c6fe1edd3f236745b6af51929969bdaba2d59200dcc5),
#   mined on 2018-10-08T09:51:59Z

 "# extended private masterkey: <some long key>"
<some key> 2018-04-26T17:08:10Z change=1 # addr=<some address> hdkeypath=m/0'/0'/699'
<some key> 2018-04-26T17:08:10Z change=1 # addr=<some address> hdkeypath=m/0'/1'/947'
<some key> 2018-04-26T17:08:10Z change=1 # addr=<some address> hdkeypath=m/0'/0'/86

This is a long list which goes on about four thosand lines. Then I see:

<Some Random Text(Not sure if it's a key)> 0 script=1 # addr=<some address>
<Some Random Text(Not sure if it's a key)> 0 script=1 # addr=<some address>

This goes till some eight thousand lines and the file end with # End of dump

Please help to understand all this messy thing.


13  Bitcoin / Development & Technical Discussion / What is use of Checkpoints in a cryptocurrency? on: October 11, 2018, 05:45:03 PM
Hi friends, I am a college student and a cryptocurrency enthusiast, working on an altcoin as my major project.

I wanted to know about significance of checkpoints in a cryptocurrency. Why they are needed and how to implenet them. I was checking out checkpoints.cpp of litecoin's 0.8 version.

Help appreciated and thanks in advance.
14  Alternate cryptocurrencies / Service Discussion (Altcoins) / Editing "About (Altcoin Name)" in Windows QT Wallet on: October 08, 2018, 07:03:09 AM
Hi Folks, I am developing an Altcoin for my College Major Project. I am Using litecoin 0.8 as basecode. Everything is running fine except About page in Windows Wallet. In my Windows Wallet, under the 'Help' tab there is an option by name About <MyAltcoin'sName>. But this page is displaying incorrect information. It goes like:

<MyAltcoin'sName> version v0.8.7.5-unk-beta

Copyright © 2009-2014 The Bitcoin developers
Copyright © 2011-2014 The Litecoin developers
Copyright © 2018 The <MyAltcoin'sName> developer

Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php.

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) and cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP software written by Thomas Bernard.


Please guide me how to change copyright dates for bitcoin and litecoin. Tried all ways but am unable to replace 2014 with 2018.

Help appreciated
Warm Regards

15  Other / Beginners & Help / Advise Some Opensource Block Explorer on: September 26, 2018, 09:41:22 AM
Hi there, I am a student and a cryptocurrency enthusiast. Few months back I watched a video series on youtube who taught how to create your altcoin. The series was based on litecoin. I used it for my major project and my interest grew since ever. As per tutorial I used https://github.com/iquidus this explorer. But this explorer is showing wrong Total Supply. Can you suggest me some open source block explorer for my POW altcoin.

Help Needed and Appreciated.

Warm Regards
16  Bitcoin / Bitcoin Technical Support / How to take proper backup on: September 25, 2018, 11:32:26 AM
Hi there,

I am using Bitcoin Core with RPC and have connected few accounts to it with a web wallet. Now I want to take regular backup everyday, but what should i back up from data directory, only the wallet.dat file or the whole data directory.

I want all the balances. transactions and pending transactions to be preserved safly. Please advise what kind of backup I should make.

Warm Regards
17  Alternate cryptocurrencies / Altcoin Discussion / Altocoin Development Help Needed on: September 12, 2018, 04:27:23 AM
Hi there, I am a student and a newbie cryptocurrency enthusiast. Few months back I watched a video series on youtube which taught how to create your altcoin. The series was based on litecoin and hence uses POW. I used it for my major project and my interest grew. I then studied further to make X11 and X13 coins. But now it seems that the code those tutorials used is quite old and there are many updates in both bitcoin and litecoin since then. Is there specific guide or tutuorial which guides to develop altcoin based on latest version of bitcoin or litecoin.

Help Appreciated. Smiley Smiley
18  Other / Beginners & Help / POW to Hybrid conversion on: September 07, 2018, 11:24:13 AM
Hi there, I am a student and a cryptocurrency enthusiast. I few months back I watched a video series on youtube who taught how to create your altcoin. The series was based on litecoin and hence uses POW. I used it for my major project and my interest grew. I then studied further to make X11 and X13 coins. Though the process was very simple, I learned many things in the process. Now I am seeing POS as a buzz, can anybody suggest how can I convert my existing altcoin to POS+POW. Help Appreciated.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!