Git Product home page Git Product logo

auroracoin's People

Contributors

auroracoin101 avatar biomike avatar cryptocanary avatar molecular avatar ny2cafuse avatar skatefish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

auroracoin's Issues

Opens then closes

Expected behavior

Actual behavior

To reproduce

System information

Refactor Bitpay code

To fix issue #24 and #25 we added code from Bitpay. When adding it, it became clear that it could use some refactoring. Made some TODO comments regarding this when adding the code.

Relevant commit: 0e33e48

Chrome wallet not sending

Im using the chrome wallet. Strange but i can send coins from any address apart from one. Which is this:
AeTpPSYKDEUkFAnRKnbCRApE1RC78cCr79

Nothing happens. I cant see anything wrong in the console either.

Is that a known issue? How to solve this?

boost 1.69 compat

compile failure with boost 1.69

rpcserver.cpp: At global scope:
rpcserver.cpp:431:115: error: wrong number of template arguments (2, should be 1)
431 | static void RPCAcceptHandler(boost::shared_ptr< boost::asio::basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
| ^
In file included from /usr/include/boost/asio.hpp:30,
from rpcprotocol.h:15,
from rpcserver.h:10,
from rpcserver.cpp:6:
/usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template class boost::asio::basic_socket_acceptor’
73 | class basic_socket_acceptor
| ^~~~~~~~~~~~~~~~~~~~~
rpcserver.cpp:431:117: error: template argument 1 is invalid
431 | static void RPCAcceptHandler(boost::shared_ptr< boost::asio::basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
| ^
rpcserver.cpp:441:108: error: wrong number of template arguments (2, should be 1)
441 | static void RPCListen(boost::shared_ptr< boost::asio::basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
| ^
In file included from /usr/include/boost/asio.hpp:30,
from rpcprotocol.h:15,
from rpcserver.h:10,
from rpcserver.cpp:6:
/usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template class boost::asio::basic_socket_acceptor’
73 | class basic_socket_acceptor
| ^~~~~~~~~~~~~~~~~~~~~
......

QR code and Verify Message buttons on File->Receive Addresses menu

QR code and Verify Message buttons on File->Receive Addresses menu do not WAI. QR code button should return the popup page that is displayed when you double-click on a receive address in the receive tab. Verify Message button can be removed, as the File->Verify Message menu option can be used instead.

DNS Seeders returning only one IP, and always the same one

Expected Behavior:
A properly set up DNS Seeder / Node Tracker will build a database of many node IP's and when queried from DNS will return several IP's.

Actual behavior
Only a single IP is being returned when querying the DNS seeders, and always the same one per seeder. This indicate something is wrong.

To reproduce
Use the dig tool to query DNS servers:
dig electrum1.auroracoin.is A // 'A' for IPv4, and always returns 94.242.229.111
dig electrum2.auroracoin.is A // always returns 104.236.13.120
dig electrum3.auroracoin.is A // always returns 178.62.202.79
dig electrum4.auroracoin.is A // always returns 178.62.5.211

This is a problem, because all wallets / nodes are then trying to connect to these 4 other IP's nodes, and will likely exceed the available connections.

For comparison, try this:
dig dnsseed.auroracoin.cc A

;; ANSWER SECTION: // 8 different IP's returned, with one call
dnsseed.auroracoin.cc. 3600 IN A 62.171.189.219
dnsseed.auroracoin.cc. 3600 IN A 85.15.179.171
dnsseed.auroracoin.cc. 3600 IN A 157.161.128.56
dnsseed.auroracoin.cc. 3600 IN A 147.135.191.162
dnsseed.auroracoin.cc. 3600 IN A 65.109.141.173
dnsseed.auroracoin.cc. 3600 IN A 80.65.23.139
dnsseed.auroracoin.cc. 3600 IN A 87.98.244.13
dnsseed.auroracoin.cc. 3600 IN A 66.151.242.154

dig dnsseed.auroracoin.cc A // repeat the call, get 8 IP's , but slightly different set now, as it should be
;; ANSWER SECTION:
dnsseed.auroracoin.cc. 3600 IN A 85.15.179.171
dnsseed.auroracoin.cc. 3600 IN A 147.135.191.162
dnsseed.auroracoin.cc. 3600 IN A 141.95.146.47
dnsseed.auroracoin.cc. 3600 IN A 5.188.104.245
dnsseed.auroracoin.cc. 3600 IN A 87.98.244.13
dnsseed.auroracoin.cc. 3600 IN A 62.171.189.219
dnsseed.auroracoin.cc. 3600 IN A 91.206.16.214
dnsseed.auroracoin.cc. 3600 IN A 83.221.211.116

No Install Dir Prompt

You really need to allow users to define the install location, and data storage location. This is a GIVEN.

BerkeleyDB on MacOSX

Last year we upgraded our wallet to use BerkeleyDB version 5.3, as it is better supported on many systems. This worked out fine in the Windows and Linux builds, however today I found out that the MacOSX build was still using db-4.8 (just like all other coins). I've tried building the latest wallet against db-5.3 and the build itself goes fine. However, starting the wallet immediately returns an exception and crashes (fresh install), due to the fact that it can't find wallet.dat. Inspecting the code seems that the error surfaces when it tries to access the wallet (the creation of the wallet is in the same line (open the file with 'cr+' permissions)). I've checked other versions of BerkeleyDB and the branch after 4.8 (which is 5.0) already throws this error.

Tasks:

  • Compare code between 4.8 and 5.0.
  • Inspect documentation regarding changes in opening the file in creation mode.
  • Rewrite or fix wallet code to correctly handle the opening.

TX inputs does not return address and amount data.

in below output "VIN" has "addr", "valueSat" , "value" json field are null.

"txid": "ddf20d2903c5728fd125409a219f3947e9c5b3f3acc063ac970834164004dae6",
"version": 1,
"locktime": 0,
"vin": [
    {
        "txid": "a8b5a1cbea9ad63a91003fe5e0f3c1da763c0a4e9c906cc998dcf175471b3610",
        "vout": 1,
        "sequence": 4294967295,
        "n": 0,
        "scriptSig": {
            "hex": "48304502205bb5196e1685de639379d1a8c5693c959b6203912b1b70232e42e904999a4ddd022100ac8bdbb800568f3daef0a6128d626b2e042fb30ac8f63dc5f0863a73a356eddb012103d2eb55a7c64ebfabed8d32851b1108eda65bcf9403523dc749800c77af19c5f8",
            "asm": "304502205bb5196e1685de639379d1a8c5693c959b6203912b1b70232e42e904999a4ddd022100ac8bdbb800568f3daef0a6128d626b2e042fb30ac8f63dc5f0863a73a356eddb[ALL] 03d2eb55a7c64ebfabed8d32851b1108eda65bcf9403523dc749800c77af19c5f8"
        },
        "addr": null,
        "valueSat": null,
        "value": null,
        "doubleSpentTxID": null
    },
    {
        "txid": "d72a44dcba8648100f20ad1e612f41f1786a2722fd3f7bd594c061c42d36cc75",
        "vout": 1,
        "sequence": 4294967295,
        "n": 1,
        "scriptSig": {
            "hex": "4830450220638d91fd008addead7341683e855560d3d28b0f5a2c79c3681a7f0b43b2c3e12022100f0822bb7e2a4fe1f1e802e6c1050ba3671bccc3a23937733da2b00964f3edffa0121024aefd74c474dcb62c06f379fc8f19be03dc2bb8dd3dc08fc7f20ba6a047442b3",
            "asm": "30450220638d91fd008addead7341683e855560d3d28b0f5a2c79c3681a7f0b43b2c3e12022100f0822bb7e2a4fe1f1e802e6c1050ba3671bccc3a23937733da2b00964f3edffa[ALL] 024aefd74c474dcb62c06f379fc8f19be03dc2bb8dd3dc08fc7f20ba6a047442b3"
        },
        "addr": null,
        "valueSat": null,
        "value": null,
        "doubleSpentTxID": null
    },
    {
        "txid": "5e715b11fcdcfbc26a4b01f943a6b8caebcc2d1fb20c0452a82ff1ba46cabd9f",
        "vout": 0,
        "sequence": 4294967295,
        "n": 2,
        "scriptSig": {
            "hex": "47304402201a1b4a9faabb3aa338eb3815d5beaa5ce25dd5822709910f0286e4c9ea58d9ce02201b8ecba28150e479fa9d690ff4c613e9abcdedbb76e6222c6ff08e82d6b379d0012103a834eb115826f8edaf79dc14315bcf16c4240baab8d7fe2398e37f6eb0b19f8e",
            "asm": "304402201a1b4a9faabb3aa338eb3815d5beaa5ce25dd5822709910f0286e4c9ea58d9ce02201b8ecba28150e479fa9d690ff4c613e9abcdedbb76e6222c6ff08e82d6b379d0[ALL] 03a834eb115826f8edaf79dc14315bcf16c4240baab8d7fe2398e37f6eb0b19f8e"
        },
        "addr": null,
        "valueSat": null,
        "value": null,
        "doubleSpentTxID": null
    },
    {
        "txid": "a3044a2bbe55f01d2f368565b5d1d48c56339798d4e4c9d185f469121dd074a0",
        "vout": 1,
        "sequence": 4294967295,
        "n": 3,
        "scriptSig": {
            "hex": "48304502207dc06393bbbe8326f3cb1d583b87ef3441a16a4bede48c5ec74d5bc53f8b970b022100808554cd8697781943e2ef9d8252df97a75d84d0bf5d21859c1797ae4618e60a012103c36c41c91b06fcccb94602f2dd4f701c0cd0daee701713940ac40e75cbe70b52",
            "asm": "304502207dc06393bbbe8326f3cb1d583b87ef3441a16a4bede48c5ec74d5bc53f8b970b022100808554cd8697781943e2ef9d8252df97a75d84d0bf5d21859c1797ae4618e60a[ALL] 03c36c41c91b06fcccb94602f2dd4f701c0cd0daee701713940ac40e75cbe70b52"
        },
        "addr": null,
        "valueSat": null,
        "value": null,
        "doubleSpentTxID": null
    }
],
"vout": [
    {
        "value": "0.01036863",
        "n": 0,
        "scriptPubKey": {
            "hex": "76a914ee0c3ad0f1dd86ce4ac2f410a6d4703e4dab4f2b88ac",
            "asm": "OP_DUP OP_HASH160 ee0c3ad0f1dd86ce4ac2f410a6d4703e4dab4f2b OP_EQUALVERIFY OP_CHECKSIG",
            "addresses": [
                "AdUZ7tgm2NGDsBEseHGgfCAcCerxuDbCXB"
            ],
            "type": "pubkeyhash"
        },
        "spentTxId": null,
        "spentIndex": null,
        "spentHeight": null
    },
    {
        "value": "15.53054182",
        "n": 1,
        "scriptPubKey": {
            "hex": "76a914072634af7aefcab03542e3d652dd8c64c494502a88ac",
            "asm": "OP_DUP OP_HASH160 072634af7aefcab03542e3d652dd8c64c494502a OP_EQUALVERIFY OP_CHECKSIG",
            "addresses": [
                "AGRg9RiA5YTnBDL6XD37CmRCvpL1SiA7DS"
            ],
            "type": "pubkeyhash"
        },
        "spentTxId": null,
        "spentIndex": null,
        "spentHeight": null
    }
],
"blockhash": "0beb5667d997b1b54af8b9fe7a54a7f6890713a20394d567fd4471aa5fbafdef",
"blockheight": -1,
"confirmations": 0,
"time": 1395271386,
"valueOut": 15.54091045,
"size": 669,
"valueIn": null,
"fees": null

}

from google i found some patches made by DASH team might be helpful.

dashpay/dash#1839
dashpay/dash#1767

Deprecation of auto_ptr

miner.cpp uses auto_ptr in some spots, should be converted to one of the new pointer.

CXX miner.o
miner.cpp: In function ‘CBlockTemplate* CreateNewBlock(const CScript&, int)’:
miner.cpp:115:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr pblocktemplate(new CBlockTemplate());
^~~~~~~~
miner.cpp: In function ‘void BitcoinMiner(CWallet*)’:
miner.cpp:581:10: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr pblocktemplate(CreateNewBlockWithKey(reservekey, ALGO_SHA256D));
^~~~~~~~
miner.cpp: In functoe ‘void ScryptMiner(CWallet*)’:
miner.cpp:707:12: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr pblocktemplate(CreateNewBlockWithKey(reservekey, ALGO_SCRYPT));
^~~~~~~~
miner.cpp: In function ‘void GenericMiner(CWallet*, int)’:
miner.cpp:836:12: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr pblocktemplate(CreateNewBlockWithKey(reservekey, algo));
^~~~~~~~

Some info regarding solving this can be found here: https://stackoverflow.com/questions/2404115/is-auto-ptr-deprecated
This could probably be converted to unique_ptr without too much hassle.

Recipe for target failed..

Makefile:938: recipe for target 'addrman.o' failed
make[3]: *** [addrman.o] Error 1
make[3]: Leaving directory '/media/auroracoin-2017.02.1.0/src'
Makefile:960: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/media/auroracoin-2017.02.1.0/src'
Makefile:680: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/media/auroracoin-2017.02.1.0/src'
Makefile:669: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
diveyez@*********************************:/media/au

Not connecting to peers

Hello,
I have installed auroracoin-cli on Ubuntu 18.04 LTS x64.
It has been online for hours and it is not connecting to peers and not downloading the block chain.

This is form my debug.log
2022-05-05T15:18:03Z Auroracoin version v2021.01.2.0-a1425f14 (release build)
2022-05-05T15:18:03Z Assuming ancestors of block 6495a84f8f83981a435a6cbf9e6dd4bf0f38618c8325213ca6ef6add40c0ddd8 have valid signatures.
2022-05-05T15:18:03Z Setting nMinimumChainWork=0000000000000000000000000000000000000000000000000000000000000000
2022-05-05T15:18:03Z Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation
2022-05-05T15:18:03Z Using RdRand as an additional entropy source
2022-05-05T15:18:03Z Default data directory /root/.auroracoin
2022-05-05T15:18:03Z Using data directory /root/.auroracoin
2022-05-05T15:18:03Z Config file: /root/.auroracoin/auroracoin.conf
2022-05-05T15:18:03Z Using at most 64 automatic connections (1024 file descriptors available)
2022-05-05T15:18:03Z Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
2022-05-05T15:18:03Z Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
2022-05-05T15:18:03Z Using 4 threads for script verification
2022-05-05T15:18:03Z scheduler thread start
2022-05-05T15:18:03Z HTTP: creating work queue of depth 16
2022-05-05T15:18:03Z Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcauth for rpcauth auth generation.
2022-05-05T15:18:03Z HTTP: starting 4 worker threads
2022-05-05T15:18:03Z Using wallet directory /root/.auroracoin
2022-05-05T15:18:03Z init message: Verifying wallet(s)...
2022-05-05T15:18:03Z Using BerkeleyDB version Berkeley DB 5.3.28: (September 9, 2013)
2022-05-05T15:18:03Z Using wallet /root/.auroracoin
2022-05-05T15:18:03Z BerkeleyEnvironment::Open: LogDir=/root/.auroracoin/database ErrorFile=/root/.auroracoin/db.log
2022-05-05T15:18:03Z init message: Loading banlist...
2022-05-05T15:18:03Z ERROR: DeserializeFileDB: Failed to open file /root/.auroracoin/banlist.dat
2022-05-05T15:18:03Z Invalid or missing banlist.dat; recreating
2022-05-05T15:18:03Z Selected Algo: scrypt
2022-05-05T15:18:03Z Cache configuration:
2022-05-05T15:18:03Z * Using 2.0 MiB for block index database
2022-05-05T15:18:03Z * Using 56.0 MiB for transaction index database
2022-05-05T15:18:03Z * Using 8.0 MiB for chain state database
2022-05-05T15:18:03Z * Using 384.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
2022-05-05T15:18:03Z init message: Loading block index...
2022-05-05T15:18:03Z Opening LevelDB in /root/.auroracoin/blocks/index
2022-05-05T15:18:03Z Opened LevelDB successfully
2022-05-05T15:18:03Z Using obfuscation key for /root/.auroracoin/blocks/index: 0000000000000000
2022-05-05T15:18:03Z LoadBlockIndexDB: last block file = 0
2022-05-05T15:18:03Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=0, size=0, heights=0...0, time=1970-01-01...1970-01-01)
2022-05-05T15:18:03Z Checking all blk files are present...
2022-05-05T15:18:03Z LoadBlockIndexDB: address index disabled
2022-05-05T15:18:03Z LoadBlockIndexDB: timestamp index disabled
2022-05-05T15:18:03Z LoadBlockIndexDB: spent index disabled
2022-05-05T15:18:03Z Initializing databases...
2022-05-05T15:18:03Z Pre-allocating up to position 0x1000000 in blk00000.dat
2022-05-05T15:18:03Z Opening LevelDB in /root/.auroracoin/chainstate
2022-05-05T15:18:03Z Opened LevelDB successfully
2022-05-05T15:18:03Z Wrote new obfuscate key for /root/.auroracoin/chainstate: a72bc04df5303d78
2022-05-05T15:18:03Z Using obfuscation key for /root/.auroracoin/chainstate: a72bc04df5303d78
2022-05-05T15:18:03Z init message: Rewinding blocks...
2022-05-05T15:18:03Z block index 7ms
2022-05-05T15:18:03Z Opening LevelDB in /root/.auroracoin/indexes/txindex
2022-05-05T15:18:03Z Opened LevelDB successfully
2022-05-05T15:18:03Z Using obfuscation key for /root/.auroracoin/indexes/txindex: 0000000000000000
2022-05-05T15:18:03Z init message: Loading wallet...
2022-05-05T15:18:03Z txindex thread start
2022-05-05T15:18:03Z txindex is enabled
2022-05-05T15:18:03Z txindex thread exit
2022-05-05T15:18:03Z BerkeleyEnvironment::Open: LogDir=/root/.auroracoin/database ErrorFile=/root/.auroracoin/db.log
2022-05-05T15:18:03Z [default wallet] Wallet File Version = 10500
2022-05-05T15:18:03Z [default wallet] Keys: 0 plaintext, 0 encrypted, 0 w/ metadata, 0 total. Unknown wallet records: 0
2022-05-05T15:18:03Z [default wallet] Performing wallet upgrade to 169900
2022-05-05T15:18:04Z [default wallet] keypool added 2000 keys (1000 internal), size=2000 (1000 internal)
2022-05-05T15:18:04Z [default wallet] Wallet completed loading in 973ms
2022-05-05T15:18:04Z [default wallet] setKeyPool.size() = 2000
2022-05-05T15:18:04Z [default wallet] mapWallet.size() = 0
2022-05-05T15:18:04Z [default wallet] mapAddressBook.size() = 0
2022-05-05T15:18:04Z UpdateTip: new best=2a8e100939494904af825b488596ddd536b3a96226ad02e0f7ab7ae472b27a8e height=0 version=0x00000001 algo=1 (scrypt) log2_work=20.000001 tx=1 date='2014-01-24T21:26:46Z' progress=0.000000 cache=0.0MiB(0txo)
2022-05-05T15:18:04Z block tree size = 1
2022-05-05T15:18:04Z nBestHeight = 0
2022-05-05T15:18:04Z Failed to open mempool file from disk. Continuing anyway.
2022-05-05T15:18:04Z torcontrol thread start
2022-05-05T15:18:04Z AddLocal(192.248.147.241:12340,1)
2022-05-05T15:18:04Z Discover: IPv4 enp1s0: 192.248.147.241
2022-05-05T15:18:04Z AddLocal([2001:19f0:7402:bdc:5400:3ff:fef4:6ef0]:12340,1)
2022-05-05T15:18:04Z Discover: IPv6 enp1s0: 2001:19f0:7402:bdc:5400:3ff:fef4:6ef0
2022-05-05T15:18:04Z Bound to 127.0.0.1:12340
2022-05-05T15:18:04Z init message: Loading P2P addresses...
2022-05-05T15:18:04Z ERROR: DeserializeFileDB: Failed to open file /root/.auroracoin/peers.dat
2022-05-05T15:18:04Z Invalid or missing peers.dat; recreating
2022-05-05T15:18:04Z init message: Starting network threads...
2022-05-05T15:18:04Z net thread start
2022-05-05T15:18:04Z dnsseed thread start
2022-05-05T15:18:04Z Loading addresses from DNS seed electrum4.auroracoin.is
2022-05-05T15:18:04Z addcon thread start
2022-05-05T15:18:04Z init message: Done loading
2022-05-05T15:18:04Z opencon thread start
2022-05-05T15:18:04Z msghand thread start
2022-05-05T15:18:04Z Loading addresses from DNS seed electrum1.auroracoin.is
2022-05-05T15:18:04Z Loading addresses from DNS seed electrum2.auroracoin.is
2022-05-05T15:18:04Z Loading addresses from DNS seed electrum3.auroracoin.is
2022-05-05T15:18:04Z 0 addresses found from DNS seeds
2022-05-05T15:18:04Z dnsseed thread exit
2022-05-05T15:19:05Z Adding fixed seed nodes as DNS doesn't seem to be available.
2022-05-05T15:26:46Z [default wallet] keypool reserve 1
2022-05-05T15:26:46Z [default wallet] keypool keep 1
2022-05-05T15:29:18Z Potential stale tip detected, will try using extra outbound peer (last tip update: 674 seconds ago)
2022-05-05T15:39:48Z Potential stale tip detected, will try using extra outbound peer (last tip update: 1304 seconds ago)
2022-05-05T15:50:18Z Potential stale tip detected, will try using extra outbound peer (last tip update: 1934 seconds ago)

Couple of Issues

First Master will not build using db4.8, but will build on db5.3.
Second Master dnsseed out of date, because no Nodes are loaded in order for the coin to sync.

auroracoin-qt-20180910.exe

auroracoin-qt-20180910.exe is infected with a trojan called Win32/CryptInjet
Could one get one clean exe from some other place?

Aurora Coin Hotfix release 2021.01.2.0 Crashing upon Startup

The application automatically crashes upon startup on Windows 10. I tried compatability with windows 7 and windows 8 and the program wouldn't even load. When I turned off compatability mode Aurora Coin finally loaded for about 15 seconds then crashed again.

So I do not know whats happening I open the program it begins to load and then it just turns off.

The help rpc causes auroracoind to crash

Hi,

First to say I love the idea that rpc now starts before loading the full database and you can see the status.

Now with my issue that might be an issue or not, depends how you see it.
After loading the "master" version of auroracoind over the database created by stable version it worked for a while and after that crashed.
I have started the previous ("stable") auroracoind and debug log looks like this.

2020-10-06 20:56:34 ERROR: DisconnectBlock() : added transaction mismatch? database corrupted
2020-10-06 20:56:34 ERROR: DisconnectBlock() : added transaction mismatch? database corrupted
2020-10-06 20:56:34 ERROR: DisconnectBlock() : added transaction mismatch? database corrupted
2020-10-06 20:56:34 ERROR: DisconnectBlock() : added transaction mismatch? database corrupted
2020-10-06 20:56:34 ERROR: DisconnectBlock() : added transaction mismatch? database corrupted
2020-10-06 20:56:34 ERROR: VerifyDB() : *** coin database inconsistencies found (last 289 blocks, 0 good transactions before that)

: Corrupted block database detected.

Do you want to rebuild the block database now?
2020-10-06 20:56:34 : Corrupted block database detected.

Do you want to rebuild the block database now?
2020-10-06 20:56:34 Aborted block database rebuild. Exiting.
2020-10-06 20:56:34 Shutdown : In progress...
2020-10-06 20:56:34 StopNode()
2020-10-06 20:56:34 Shutdown : done

So it looks like after upgrade you can`t downgrade on the fly, probably I will have to find why "master" version is crashing.
Anyway. I started again the "master" version and started until I issued the help command.

crash was with no messages in debug log.

auroracoin-cli -rpcport=12345 help
error: Could not connect to the server 127.0.0.1:12345 (error code 1 - "EOF reached")

Make sure the auroracoind server is running and that you are connecting to the correct RPC port.

starting the "master" daemon again and issue other command that works:

auroracoin-cli -rpcport=12345 getinfo
{
"version": 2020070100,
"protocolversion": 3020191,
"blocks": 2739982,
"timeoffset": 0,
"connections": 6,
"proxy": "",
"difficulty": 25521.74752204607,
"testnet": false,
"relayfee": 0.00001000,
"errors": "This is a pre-release test build - use at your own risk - do not use for mining or merchant applications"
}

Building with missing flags ...

I tried to compile berkley Db ... but it fails too .... under opensuse 15.0

checking for Berkeley DB C++ headers... no
configure: error: libdb_cxx headers missing

Configure should mention Berkeley DB version. (Was: Build Error)

I keep getting this error when ./configure is run.
checking for Berkeley DB C++ headers... no
configure: error: libdb_cxx headers missing

i just built a fresh 16.04 box and am still getting this error. nothing else is installed. have run...

apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
apt-get install libboost-all-dev git npm nodejs nodejs-legacy libminiupnpc-dev redis-server
add-apt-repository ppa:bitcoin/bitcoin
apt-get update
apt-get install libdb4.8-dev libdb4.8++-dev
curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh
source ~/.profile
nvm install 0.10.25
nvm use 0.10.25

compile problem

config.status: creating src/bitcoin-config.h
config.status: executing depfiles commands
root@pools:/home/coins/Auroracoin# make
Making all in src
make[1]: Entering directory /home/coins/Auroracoin/src' make all-recursive make[2]: Entering directory/home/coins/Auroracoin/src'
Making all in .
make[3]: Entering directory /home/coins/Auroracoin/src' CXX addrman.o CXX alert.o CXX bloom.o CXX checkpoints.o CXX coins.o CXX init.o CXX keystore.o CXX leveldbwrapper.o CXX main.o CXX miner.o CXX net.o net.cpp:1090:6: error: #error "Must have miniupnp version >= 1.6" #error "Must have miniupnp version >= 1.6" ^ net.cpp: In function âvoid ThreadMapPort()â: net.cpp:1076:18: warning: unused variable âmulticastifâ [-Wunused-variable] const char * multicastif = 0; ^ net.cpp:1077:18: warning: unused variable âminissdpdpathâ [-Wunused-variable] const char * minissdpdpath = 0; ^ make[3]: *** [net.o] Error 1 make[3]: Leaving directory/home/coins/Auroracoin/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /home/coins/Auroracoin/src' make[1]: *** [all] Error 2 make[1]: Leaving directory/home/coins/Auroracoin/src'
make: *** [all-recursive] Error 1
root@pools:/home/coins/Auroracoin# ls -l

Compiling Auroracoin from 'depends' folder fails

Compiling Auroracoin in the 'depends' folder results in
failure, because of dependency stored in a defunct website:
Fetching boost_1_70_0.tar.bz2 from https://dl.bintray.com/boostorg/release/1.70.0/source/
curl: (22) The requested URL returned error: 404

(website has ceased operations: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/)

depends folder should be self-sufficient: contain all the source neccessary to build the program

Addresse and amount missing in transaction outputs .

insight explorer : http://insight.auroracoin.is/tx/bc27037e1010d51ae85e74b80b97b7963d138c045ba40f50cb996aff1609cb58

RPC outputs: getrawtransaction bc27037e1010d51ae85e74b80b97b7963d138c045ba40f50cb996aff1609cb58 1

{
  "txid": "bc27037e1010d51ae85e74b80b97b7963d138c045ba40f50cb996aff1609cb58",
  "size": 360,
  "version": 1,
  "locktime": 0,
  "vin": [
    {
      "coinbase": "039e2b232cfabe6d6df7f37491fdc22a96a4426327c75b563ac8cd5b6981e076f5016835d9efb4aed00100000000000000062f503253482f7032702d7370622e78797a",
      "sequence": 4294967295
    }
  ],
  "vout": [
    {
      "value": 0.00000000,
      "valueSat": 0,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_RETURN aa21a9ed995b15bb40c649d60fd8772050af0614d73ec1d1e52881d510827a95da4c0b75",
        "hex": "6a24aa21a9ed995b15bb40c649d60fd8772050af0614d73ec1d1e52881d510827a95da4c0b75",
        "type": "nulldata"
      }
    },
    {
      "value": 0.00053398,
      "valueSat": 53398,
      "n": 1,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 692990648e4d684df3766065777909d47c178d26 OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a914692990648e4d684df3766065777909d47c178d2688ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "ARMvPZSxdgw8thGEfqxy2M8bK6hj1VjkWC"
        ]
      }
    },
    {
      "value": 1.25046601,
      "valueSat": 125046601,
      "n": 2,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 21d063a6d397285a3f2a790eeb0984bb5f9f532f OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a91421d063a6d397285a3f2a790eeb0984bb5f9f532f88ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "AJrfay8oRiPrKEQuFGsVL5GMiLTW4dd2ti"
        ]
      }
    },
    {
      "value": 0.00000001,
      "valueSat": 1,
      "n": 3,
      "scriptPubKey": {
        "asm": "04ffd03de44a6e11b9917f3a29f9443283d9871c9d743ef30d5eddcd37094b64d1b3d8090496b53256786bf5c82932ec23c3b74d9f05a6f95a8b5529352656664b OP_CHECKSIG",
        "hex": "4104ffd03de44a6e11b9917f3a29f9443283d9871c9d743ef30d5eddcd37094b64d1b3d8090496b53256786bf5c82932ec23c3b74d9f05a6f95a8b5529352656664bac",
        "reqSigs": 1,
        "type": "pubkey",
        "addresses": [
          "Aakx45L1Z2z1Y3eq4jYaufNc3J439Xyegb"
        ]
      }
    },
    {
      "value": 0.00000000,
      "valueSat": 0,
      "n": 4,
      "scriptPubKey": {
        "asm": "OP_RETURN 1d3f4b5d00d5a1529eeaf4cb99d5ee7ba06eaff19452c484f165f72427372c3d0500000095000000",
        "hex": "6a281d3f4b5d00d5a1529eeaf4cb99d5ee7ba06eaff19452c484f165f72427372c3d0500000095000000",
        "type": "nulldata"
      }
    }
  ],
  "blockhash": "01e1f68a7ee08e87e7d64b0be292af1eb6c2c147754454590f31edd9cafcc835",
  "height": 2304926,
  "confirmations": 4604,
  "time": 1576902835,
  "blocktime": 1576902835
}

OpenSSL v1.1 support (was: boost version confusion)

I fail to build auroracoin on an arch linux system.

My system boost libs/headers are version 1.65.1-2

https://github.com/aurarad/Auroracoin/blob/master/doc/build-unix.md says that boost is a dependency but doesn't specify the verision. The first error is:

bignum.h:56:24: error: invalid use of incomplete type ‘BIGNUM {aka struct bignum_st}’
 class CBigNum : public BIGNUM

Since the ubuntu section in build-unix says to install boost 1.55, I built and installed boost 1.55 to a separate location which I passed in via ./configure --with-boost=my_155_boost_dir. Unfortunately also with 1.55 I'm getting many errors related to bignum stuff. At least the first one is the same I posted above, not sure about the other ones, it's loads and loads of errors.

Which boost version does this actually build with?

(I tried master and develop branches)

No 'Create new Receiving Address' button in Windows Core wallet

Should see a 'New' button for receiving addresses but the button is not there.

Expected a new button like this:
image

Actual behavior
No "New" button when in Receiving Addresses in Windows Core Wallet:
image

To reproduce
Install Windows Core Wallet, go to the Window menu, then to Receiving addresses.

System information

Auroracoin version v2021.01.2.0-6250f0c (64-bit)

Windows 10 PC

Linux compile fails

` CXX wallet/libauroracoin_wallet_a-walletutil.o

wallet/walletutil.cpp: In function ‘std::vectorboost::filesystem::path ListWalletDir()’:

wallet/walletutil.cpp:62:32: error: ‘relative’ is not a member of ‘fs’

         paths.emplace_back(fs::relative(it->path(), wallet_dir));

                            ^

wallet/walletutil.cpp:73:36: error: ‘relative’ is not a member of ‘fs’

             paths.emplace_back(fs::relative(it->path(), wallet_dir));

                                ^

Makefile:7371: recipe for target 'wallet/libauroracoin_wallet_a-walletutil.o' failed

make[2]: *** [wallet/libauroracoin_wallet_a-walletutil.o] Error 1

make[2]: Leaving directory '/home/c/Auroracoin12_29_2019/src'

Makefile:10723: recipe for target 'all-recursive' failed

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory '/home/c/Auroracoin12_29_2019/src'

Makefile:777: recipe for target 'all-recursive' failed

make: *** [all-recursive] Error 1`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.