GithubHelp home page GithubHelp logo

runonflux / fluxd Goto Github PK

View Code? Open in Web Editor NEW
79.0 25.0 40.0 115.45 MB

Flux Daemon

Home Page: https://runonflux.io

License: MIT License

Makefile 1.43% Shell 1.35% M4 2.11% Python 10.86% C++ 72.59% C 9.76% HTML 0.67% CSS 0.01% Assembly 0.38% Java 0.40% Sage 0.40% Batchfile 0.02% Jinja 0.02%
flux web3

fluxd's Introduction

Flux 7.1.0

Build Status

What is Flux?

Flux (formerly known as Zel) is a fork of 2.1.0-1 Zcash aiming to provide a decentralized development platform via FluxOS, FluxNodes, ZelCore and more.

Flux is PoW and "ASIC resistant" with ZelHash (Modified Equihash 125,4) with the personalisation string ZelProof and utilises the LWMA3 difficulty algorithm.

🚀 Getting Started

Please see our wiki for any and all info.

To setup a FluxNode please follow this guide and this video guide.

Building

Flux Daemon build and installation guide is here.

If you have the dependencies you can build Flux Daemon from source by running:

./zcutil/build.sh -j$(nproc)

Need Help?

  • 📘 See the documentation at the Zel GitBook for help and more information.
  • 🔍 Join us on Discord.gg/RunOnFlux for support and to join the community conversation.

🔒 Security Warnings

See important security warnings on Zcash Security Information page.

License

For license information see the file COPYING.

fluxd's People

Contributors

ageis avatar bitcartel avatar blondfrogs avatar codeshark avatar cozz avatar daira avatar defuse avatar ebfull avatar fanquake avatar gavinandresen avatar gmaxwell avatar jonasschnelli avatar jtimon avatar laanwj avatar larryruane avatar luke-jr avatar milesmanley avatar muggenhor avatar non-github-bitcoin avatar paveljanik avatar petertodd avatar pstratem avatar rebroad avatar sdaftuar avatar sipa avatar str4d avatar thebluematt avatar thetrunk avatar theuni avatar zkbot 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  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  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

fluxd's Issues

Rename code references zel, zelcash, zelnode to flux

There is a lot of code that uses this older names in the file name, objects, classes, comments. Are we need to update them to be flux.

Do not update RPC names as they are used by explores, exchanges, mining pools, and others. Instead, you can add a new RPC call that calls the older one. So we would have two RPC calls that do the same thing. One with updated naming scheme.

An example in the code where an RPC call was added is in rpc/zelnode.cpp, here you can see the rpc call listzelnodes which was the old name, now calls the new name viewdeterministiczelnodelist.

UniValue listzelnodes(const UniValue& params, bool fHelp) { return viewdeterministiczelnodelist(params, fHelp); }

Node stops giving getblocktemplate

Once a day our nodes stops return getblocktemplate.

Restarting a node helps return it to working state, but we need better solution.
We have several nodes, and all of em fails with same error, but not same time.

This node stopped on block 334305.

getblocktemplate reply:

error code: -10
error message:
Zelcash is downloading zelnode winners...

znsync:

{
  "IsBlockchainSynced": true,
  "lastZelnodeList": 0,
  "lastZelnodeWinner": 0,
  "lastFailure": 0,
  "nCountFailures": 0,
  "sumZelnodeList": 0,
  "sumZelnodeWinner": 0,
  "countZelnodeList": 0,
  "countZelnodeWinner": 0,
  "RequestedZelnodeAssets": 1,
  "RequestedZelnodeAttempt": 0,
  "Status": "Synchronizing sporks..."
}

getinfo:

{
  "version": 3010150,
  "protocolversion": 170011,
  "blocks": 334349,
  "timeoffset": 0,
  "connections": 8,
  "proxy": "",
  "difficulty": 8546.961181103772,
  "testnet": false,
  "paytxfee": 0.00000000,
  "relayfee": 0.00000100,
  "errors": ""
}

debug.log:

2019-05-11 09:03:25 UpdateTip: new best=0000001d28b30f0aa3f606cf91a42b265549f832c6c46383595b220a25a35425  height=334302  log2_work=44.999964  tx=937177  date=2019-05-11 09:03:14 progress=1.000000  cache=3.6MiB(4658tx)
2019-05-11 09:03:25 CreateNewBlock(): total size 1000
2019-05-11 09:03:33 receive version message: /bzedgeseeder:0.02/: version 175004, blocks=0, us=54.36.109.4:16225, peer=6292
2019-05-11 09:04:28 receive version message: /zelcashseeder:0.01/: version 170010, blocks=0, us=54.36.109.4:16225, peer=6293
2019-05-11 09:04:48 receive version message: /zelcashseeder:0.01/: version 170010, blocks=0, us=54.36.109.4:16225, peer=6294
2019-05-11 09:08:02 receive version message: /bitcoinzseeder:0.01/: version 770005, blocks=0, us=54.36.109.4:16225, peer=6295
2019-05-11 09:08:08 UpdateTip: new best=00000020781440bbf067909f385dcab3de35c8e6fe32dd13f8efc105b64b5656  height=334303  log2_work=44.999967  tx=937178  date=2019-05-11 09:03:26 progress=0.999993  cache=3.6MiB(4659tx)
2019-05-11 09:08:08 CreateNewBlock(): total size 1000
2019-05-11 09:08:54 receive version message: /bitcoinzseeder:0.01/: version 175004, blocks=0, us=54.36.109.4:16225, peer=6296
2019-05-11 09:10:14 UpdateTip: new best=0000002d0484c5b9ff66053730230d5a596360d26a0f75c513f5d86aa7b80af1  height=334304  log2_work=44.99997  tx=937184  date=2019-05-11 09:09:58 progress=1.000000  cache=3.6MiB(4669tx)
2019-05-11 09:10:14 CreateNewBlock(): total size 1000
2019-05-11 09:10:55 receive version message: /zcashseeder:0.01/: version 170007, blocks=0, us=54.36.109.4:16225, peer=6297
2019-05-11 09:10:56 Process::Process -- Tick 410451 nCurrentAsset 0
2019-05-11 09:10:56 ZelnodeSync::GetNextAsset -- Starting Synchronizing sporks...
2019-05-11 09:11:01 Process::Process -- Tick 410456 nCurrentAsset 1
2019-05-11 09:11:04 receive version message: /bitcoinzseeder:0.01/: version 770005, blocks=0, us=54.36.109.4:16225, peer=6298
2019-05-11 09:11:06 Process::Process -- Tick 410461 nCurrentAsset 1
2019-05-11 09:11:06 ZelnodeSync::GetNextAsset -- Starting Synchronizing zelnode list...
2019-05-11 09:11:11 Process::Process -- Tick 410466 nCurrentAsset 2
2019-05-11 09:11:16 Process::Process -- Tick 410471 nCurrentAsset 2
2019-05-11 09:11:21 Process::Process -- Tick 410476 nCurrentAsset 2
2019-05-11 09:11:22 receive version message: /bitcoinzseeder:0.01/: version 175004, blocks=0, us=54.36.109.4:16225, peer=6299
2019-05-11 09:11:26 Process::Process -- Tick 410481 nCurrentAsset 2
2019-05-11 09:11:31 Process::Process -- Tick 410486 nCurrentAsset 2
2019-05-11 09:11:36 Process::Process -- Tick 410491 nCurrentAsset 2
2019-05-11 09:11:36 ZelnodeSync::GetNextAsset -- Starting Synchronizing zelnode winners...
2019-05-11 09:11:41 Process::Process -- Tick 410496 nCurrentAsset 3
2019-05-11 09:11:46 Process::Process -- Tick 410501 nCurrentAsset 3
2019-05-11 09:11:51 Process::Process -- Tick 410506 nCurrentAsset 3
2019-05-11 09:11:56 Process::Process -- Tick 410511 nCurrentAsset 3
2019-05-11 09:12:01 Process::Process -- Tick 410516 nCurrentAsset 3
2019-05-11 09:12:06 Process::Process -- Tick 410521 nCurrentAsset 3
2019-05-11 09:12:11 Process::Process -- Tick 410526 nCurrentAsset 3
2019-05-11 09:12:16 Process::Process -- Tick 410531 nCurrentAsset 3
2019-05-11 09:12:21 Process::Process -- Tick 410536 nCurrentAsset 3
2019-05-11 09:12:26 Process::Process -- Tick 410541 nCurrentAsset 3
2019-05-11 09:12:31 Process::Process -- Tick 410546 nCurrentAsset 3
2019-05-11 09:12:36 Process::Process -- Tick 410551 nCurrentAsset 3
2019-05-11 09:12:41 Process::Process -- Tick 410556 nCurrentAsset 3
2019-05-11 09:12:46 Process::Process -- Tick 410561 nCurrentAsset 3
2019-05-11 09:12:51 Process::Process -- Tick 410566 nCurrentAsset 3
2019-05-11 09:12:56 Process::Process -- Tick 410571 nCurrentAsset 3
2019-05-11 09:13:01 Process::Process -- Tick 410576 nCurrentAsset 3
2019-05-11 09:13:06 Process::Process -- Tick 410581 nCurrentAsset 3
2019-05-11 09:13:11 Process::Process -- Tick 410586 nCurrentAsset 3
2019-05-11 09:13:16 Process::Process -- Tick 410591 nCurrentAsset 3
2019-05-11 09:13:21 Process::Process -- Tick 410596 nCurrentAsset 3
2019-05-11 09:13:26 Process::Process -- Tick 410601 nCurrentAsset 3
2019-05-11 09:13:31 Process::Process -- Tick 410606 nCurrentAsset 3
2019-05-11 09:13:36 Process::Process -- Tick 410611 nCurrentAsset 3
2019-05-11 09:13:41 Process::Process -- Tick 410616 nCurrentAsset 3
2019-05-11 09:13:46 Process::Process -- Tick 410621 nCurrentAsset 3
2019-05-11 09:13:51 Process::Process -- Tick 410626 nCurrentAsset 3
2019-05-11 09:13:56 Process::Process -- Tick 410631 nCurrentAsset 3
2019-05-11 09:14:01 Process::Process -- Tick 410636 nCurrentAsset 3
2019-05-11 09:14:06 Process::Process -- Tick 410641 nCurrentAsset 3
2019-05-11 09:14:11 Process::Process -- Tick 410646 nCurrentAsset 3
2019-05-11 09:14:16 Process::Process -- Tick 410651 nCurrentAsset 3
2019-05-11 09:14:20 receive version message: /zcashseeder:0.01/: version 170007, blocks=0, us=54.36.109.4:16225, peer=6300
2019-05-11 09:14:21 Process::Process -- Tick 410656 nCurrentAsset 3
2019-05-11 09:14:26 Process::Process -- Tick 410661 nCurrentAsset 3
2019-05-11 09:14:31 Process::Process -- Tick 410666 nCurrentAsset 3
2019-05-11 09:14:36 Process::Process -- Tick 410671 nCurrentAsset 3
2019-05-11 09:14:41 Process::Process -- Tick 410676 nCurrentAsset 3
2019-05-11 09:14:46 Process::Process -- Tick 410681 nCurrentAsset 3
2019-05-11 09:14:51 Process::Process -- Tick 410686 nCurrentAsset 3
2019-05-11 09:14:56 Process::Process -- Tick 410691 nCurrentAsset 3
2019-05-11 09:15:01 Process::Process -- Tick 410696 nCurrentAsset 3
2019-05-11 09:15:06 Process::Process -- Tick 410701 nCurrentAsset 3
2019-05-11 09:15:11 Process::Process -- Tick 410706 nCurrentAsset 3
2019-05-11 09:15:16 Process::Process -- Tick 410711 nCurrentAsset 3
2019-05-11 09:15:21 Process::Process -- Tick 410716 nCurrentAsset 3
2019-05-11 09:15:26 Process::Process -- Tick 410721 nCurrentAsset 3
2019-05-11 09:15:31 Process::Process -- Tick 410726 nCurrentAsset 3
2019-05-11 09:15:36 Process::Process -- Tick 410731 nCurrentAsset 3
2019-05-11 09:15:41 Process::Process -- Tick 410736 nCurrentAsset 3
2019-05-11 09:15:46 Process::Process -- Tick 410741 nCurrentAsset 3
2019-05-11 09:15:51 Process::Process -- Tick 410746 nCurrentAsset 3
2019-05-11 09:15:56 Process::Process -- Tick 410751 nCurrentAsset 3
2019-05-11 09:16:01 Process::Process -- Tick 410756 nCurrentAsset 3
2019-05-11 09:16:06 Process::Process -- Tick 410761 nCurrentAsset 3
2019-05-11 09:16:11 Process::Process -- Tick 410766 nCurrentAsset 3
2019-05-11 09:16:16 Process::Process -- Tick 410771 nCurrentAsset 3
2019-05-11 09:16:21 Process::Process -- Tick 410776 nCurrentAsset 3
2019-05-11 09:16:26 Process::Process -- Tick 410781 nCurrentAsset 3
2019-05-11 09:16:31 Process::Process -- Tick 410786 nCurrentAsset 3
2019-05-11 09:16:36 Process::Process -- Tick 410791 nCurrentAsset 3
2019-05-11 09:16:41 Process::Process -- Tick 410796 nCurrentAsset 3
2019-05-11 09:16:46 Process::Process -- Tick 410801 nCurrentAsset 3
2019-05-11 09:16:51 Process::Process -- Tick 410806 nCurrentAsset 3
2019-05-11 09:16:56 Process::Process -- Tick 410811 nCurrentAsset 3
2019-05-11 09:16:57 receive version message: /zelcashseeder:0.01/: version 170010, blocks=0, us=54.36.109.4:16225, peer=6301
2019-05-11 09:17:01 Process::Process -- Tick 410816 nCurrentAsset 3
2019-05-11 09:17:06 Process::Process -- Tick 410821 nCurrentAsset 3
2019-05-11 09:17:10 receive version message: /bitcoinzseeder:0.01/: version 770004, blocks=0, us=54.36.109.4:16225, peer=6302
2019-05-11 09:17:11 Process::Process -- Tick 410826 nCurrentAsset 3
2019-05-11 09:17:16 Process::Process -- Tick 410831 nCurrentAsset 3
2019-05-11 09:17:21 Process::Process -- Tick 410836 nCurrentAsset 3
2019-05-11 09:17:26 Process::Process -- Tick 410841 nCurrentAsset 3
2019-05-11 09:17:31 Process::Process -- Tick 410846 nCurrentAsset 3
2019-05-11 09:17:36 Process::Process -- Tick 410851 nCurrentAsset 3
2019-05-11 09:17:41 Process::Process -- Tick 410856 nCurrentAsset 3
2019-05-11 09:17:46 Process::Process -- Tick 410861 nCurrentAsset 3
2019-05-11 09:17:51 Process::Process -- Tick 410866 nCurrentAsset 3
2019-05-11 09:17:56 Process::Process -- Tick 410871 nCurrentAsset 3
2019-05-11 09:18:01 Process::Process -- Tick 410876 nCurrentAsset 3
2019-05-11 09:18:06 Process::Process -- Tick 410881 nCurrentAsset 3
2019-05-11 09:18:11 Process::Process -- Tick 410886 nCurrentAsset 3
2019-05-11 09:18:16 Process::Process -- Tick 410891 nCurrentAsset 3
2019-05-11 09:18:21 Process::Process -- Tick 410896 nCurrentAsset 3
2019-05-11 09:18:26 Process::Process -- Tick 410901 nCurrentAsset 3
2019-05-11 09:18:31 Process::Process -- Tick 410906 nCurrentAsset 3
2019-05-11 09:18:36 Process::Process -- Tick 410911 nCurrentAsset 3
2019-05-11 09:18:41 Process::Process -- Tick 410916 nCurrentAsset 3
2019-05-11 09:18:46 Process::Process -- Tick 410921 nCurrentAsset 3
2019-05-11 09:18:51 Process::Process -- Tick 410926 nCurrentAsset 3
2019-05-11 09:18:56 Process::Process -- Tick 410931 nCurrentAsset 3
2019-05-11 09:19:01 Process::Process -- Tick 410936 nCurrentAsset 3
2019-05-11 09:19:06 Process::Process -- Tick 410941 nCurrentAsset 3
2019-05-11 09:19:11 Process::Process -- Tick 410946 nCurrentAsset 3
2019-05-11 09:19:16 Process::Process -- Tick 410951 nCurrentAsset 3
2019-05-11 09:19:21 Process::Process -- Tick 410956 nCurrentAsset 3
2019-05-11 09:19:26 Process::Process -- Tick 410961 nCurrentAsset 3
2019-05-11 09:19:31 Process::Process -- Tick 410966 nCurrentAsset 3
2019-05-11 09:19:33 receive version message: /bitcoinzseeder:0.01/: version 770005, blocks=0, us=54.36.109.4:16225, peer=6303
2019-05-11 09:19:36 Process::Process -- Tick 410971 nCurrentAsset 3
2019-05-11 09:19:41 Process::Process -- Tick 410976 nCurrentAsset 3
2019-05-11 09:19:45 UpdateTip: new best=0000002c58f75b1849d1a3aceaa31335d4104fd064dee149c33d83b5936e4462  height=334305  log2_work=44.999973  tx=937191  date=2019-05-11 09:15:13 progress=0.999993  cache=3.6MiB(4683tx)
2019-05-11 09:19:46 Process::Process -- Tick 410981 nCurrentAsset 3
2019-05-11 09:19:51 Process::Process -- Tick 410986 nCurrentAsset 3
2019-05-11 09:19:56 Process::Process -- Tick 410991 nCurrentAsset 3
2019-05-11 09:20:01 Process::Process -- Tick 410996 nCurrentAsset 3
2019-05-11 09:20:06 receive version message: /ViaBTCbitpeer:0.3.0/: version 170007, blocks=0, us=0.0.0.0:0, peer=6304
2019-05-11 09:20:06 Process::Process -- Tick 411001 nCurrentAsset 3
2019-05-11 09:20:08 receive version message: /zcashseeder:0.01/: version 170007, blocks=0, us=54.36.109.4:16225, peer=6305
2019-05-11 09:20:11 Process::Process -- Tick 411006 nCurrentAsset 3
2019-05-11 09:20:13 receive version message: /zcashseeder:0.01/: version 170007, blocks=0, us=54.36.109.4:16225, peer=6306
2019-05-11 09:20:16 Process::Process -- Tick 411011 nCurrentAsset 3
2019-05-11 09:20:21 Process::Process -- Tick 411016 nCurrentAsset 3
2019-05-11 09:20:26 Process::Process -- Tick 411021 nCurrentAsset 3
2019-05-11 09:20:31 Process::Process -- Tick 411026 nCurrentAsset 3
2019-05-11 09:20:35 receive version message: /zelcashseeder:0.01/: version 170010, blocks=0, us=54.36.109.4:16225, peer=6307
2019-05-11 09:20:36 Process::Process -- Tick 411031 nCurrentAsset 3
2019-05-11 09:20:41 Process::Process -- Tick 411036 nCurrentAsset 3
2019-05-11 09:20:46 Process::Process -- Tick 411041 nCurrentAsset 3
2019-05-11 09:20:51 Process::Process -- Tick 411046 nCurrentAsset 3
2019-05-11 09:20:56 Process::Process -- Tick 411051 nCurrentAsset 3
2019-05-11 09:20:58 receive version message: /bzedgeseeder:0.02/: version 175004, blocks=0, us=54.36.109.4:16225, peer=6308
2019-05-11 09:21:01 Process::Process -- Tick 411056 nCurrentAsset 3
2019-05-11 09:21:06 Process::Process -- Tick 411061 nCurrentAsset 3
2019-05-11 09:21:11 Process::Process -- Tick 411066 nCurrentAsset 3
2019-05-11 09:21:16 Process::Process -- Tick 411071 nCurrentAsset 3
2019-05-11 09:21:21 Process::Process -- Tick 411076 nCurrentAsset 3
2019-05-11 09:21:26 Process::Process -- Tick 411081 nCurrentAsset 3
2019-05-11 09:21:31 Process::Process -- Tick 411086 nCurrentAsset 3
2019-05-11 09:21:36 Process::Process -- Tick 411091 nCurrentAsset 3
2019-05-11 09:21:41 Process::Process -- Tick 411096 nCurrentAsset 3
2019-05-11 09:21:46 Process::Process -- Tick 411101 nCurrentAsset 3
2019-05-11 09:21:50 receive version message: /zelcashseeder:0.01/: version 170010, blocks=0, us=54.36.109.4:16225, peer=6309
2019-05-11 09:21:51 receive version message: /zelcashseeder:0.01/: version 170010, blocks=0, us=54.36.109.4:16225, peer=6310
2019-05-11 09:21:51 Process::Process -- Tick 411106 nCurrentAsset 3
2019-05-11 09:21:51 Process - ERROR - Syncing zelnode winners has failed, will retry later
2019-05-11 09:22:06 UpdateTip: new best=0000001216113965bec0233b4b65d5dc5a782a5a024a345d425c7c3205768222  height=334306  log2_work=44.999975  tx=937193  date=2019-05-11 09:21:30 progress=0.999999  cache=3.6MiB(4683tx)
2019-05-11 09:22:51 UpdateTip: new best=00000009ed634671d0b4ad15967f56f3ea5ce6ed08841fb163afb5d96f347229  height=334307  log2_work=44.999978  tx=937194  date=2019-05-11 09:22:06 progress=0.999999  cache=3.6MiB(4684tx)
2019-05-11 09:22:52 Process::Process -- Tick 411166 nCurrentAsset 0
2019-05-11 09:22:52 ZelnodeSync::GetNextAsset -- Starting Synchronizing sporks...
2019-05-11 09:22:57 Process::Process -- Tick 411171 nCurrentAsset 1
2019-05-11 09:23:02 Process::Process -- Tick 411176 nCurrentAsset 1
2019-05-11 09:23:02 ZelnodeSync::GetNextAsset -- Starting Synchronizing zelnode list...
2019-05-11 09:23:07 Process::Process -- Tick 411181 nCurrentAsset 2
2019-05-11 09:23:12 Process::Process -- Tick 411186 nCurrentAsset 2
2019-05-11 09:23:17 Process::Process -- Tick 411191 nCurrentAsset 2
2019-05-11 09:23:22 Process::Process -- Tick 411196 nCurrentAsset 2
2019-05-11 09:23:27 Process::Process -- Tick 411201 nCurrentAsset 2
2019-05-11 09:23:32 Process::Process -- Tick 411206 nCurrentAsset 2
2019-05-11 09:23:37 Process::Process -- Tick 411211 nCurrentAsset 2
2019-05-11 09:23:42 Process::Process -- Tick 411216 nCurrentAsset 2
2019-05-11 09:23:47 Process::Process -- Tick 411221 nCurrentAsset 2
2019-05-11 09:23:52 Process::Process -- Tick 411226 nCurrentAsset 2
2019-05-11 09:23:57 Process::Process -- Tick 411231 nCurrentAsset 2
2019-05-11 09:24:02 Process::Process -- Tick 411236 nCurrentAsset 2
2019-05-11 09:24:07 Process::Process -- Tick 411241 nCurrentAsset 2
2019-05-11 09:24:12 Process::Process -- Tick 411246 nCurrentAsset 2
2019-05-11 09:24:17 Process::Process -- Tick 411251 nCurrentAsset 2
2019-05-11 09:24:22 Process::Process -- Tick 411256 nCurrentAsset 2
2019-05-11 09:24:27 Process::Process -- Tick 411261 nCurrentAsset 2
2019-05-11 09:24:32 Process::Process -- Tick 411266 nCurrentAsset 2
2019-05-11 09:24:37 Process::Process -- Tick 411271 nCurrentAsset 2
2019-05-11 09:24:42 Process::Process -- Tick 411276 nCurrentAsset 2
2019-05-11 09:24:47 Process::Process -- Tick 411281 nCurrentAsset 2
2019-05-11 09:24:52 Process::Process -- Tick 411286 nCurrentAsset 2
2019-05-11 09:24:57 Process::Process -- Tick 411291 nCurrentAsset 2
2019-05-11 09:25:02 Process::Process -- Tick 411296 nCurrentAsset 2
2019-05-11 09:25:07 Process::Process -- Tick 411301 nCurrentAsset 2
2019-05-11 09:25:12 Process::Process -- Tick 411306 nCurrentAsset 2
2019-05-11 09:25:17 Process::Process -- Tick 411311 nCurrentAsset 2
2019-05-11 09:25:22 Process::Process -- Tick 411316 nCurrentAsset 2
2019-05-11 09:25:27 Process::Process -- Tick 411321 nCurrentAsset 2
2019-05-11 09:25:31 receive version message: /bitcoinzseeder:0.01/: version 770005, blocks=0, us=54.36.109.4:16225, peer=6311
2019-05-11 09:25:32 Process::Process -- Tick 411326 nCurrentAsset 2
2019-05-11 09:25:32 Process - ERROR - Syncing zelnode list has failed, will retry later
2019-05-11 09:26:05 receive version message: /bitcoinzseeder:0.01/: version 175004, blocks=0, us=54.36.109.4:16225, peer=6312
2019-05-11 09:26:37 Process::Process -- Tick 411391 nCurrentAsset 0
2019-05-11 09:26:37 ZelnodeSync::GetNextAsset -- Starting Synchronizing sporks...
2019-05-11 09:26:42 Process::Process -- Tick 411396 nCurrentAsset 1
2019-05-11 09:26:47 Process::Process -- Tick 411401 nCurrentAsset 1
2019-05-11 09:26:52 Process::Process -- Tick 411406 nCurrentAsset 1
2019-05-11 09:26:57 Process::Process -- Tick 411411 nCurrentAsset 1
2019-05-11 09:27:02 Process::Process -- Tick 411416 nCurrentAsset 1
2019-05-11 09:27:07 Process::Process -- Tick 411421 nCurrentAsset 1
2019-05-11 09:27:12 Process::Process -- Tick 411426 nCurrentAsset 1
2019-05-11 09:27:17 Process::Process -- Tick 411431 nCurrentAsset 1
2019-05-11 09:27:22 Process::Process -- Tick 411436 nCurrentAsset 1
2019-05-11 09:27:27 Process::Process -- Tick 411441 nCurrentAsset 1
2019-05-11 09:27:32 Process::Process -- Tick 411446 nCurrentAsset 1
2019-05-11 09:27:37 Process::Process -- Tick 411451 nCurrentAsset 1
2019-05-11 09:27:42 Process::Process -- Tick 411456 nCurrentAsset 1
2019-05-11 09:27:47 Process::Process -- Tick 411461 nCurrentAsset 1
2019-05-11 09:27:52 Process::Process -- Tick 411466 nCurrentAsset 1
2019-05-11 09:27:57 Process::Process -- Tick 411471 nCurrentAsset 1
2019-05-11 09:28:02 Process::Process -- Tick 411476 nCurrentAsset 1
2019-05-11 09:28:07 Process::Process -- Tick 411481 nCurrentAsset 1
2019-05-11 09:28:12 Process::Process -- Tick 411486 nCurrentAsset 1
2019-05-11 09:28:17 Process::Process -- Tick 411491 nCurrentAsset 1
2019-05-11 09:28:17 receive version message: /zcashseeder:0.01/: version 170007, blocks=0, us=54.36.109.4:16225, peer=6313
2019-05-11 09:28:22 Process::Process -- Tick 411496 nCurrentAsset 1
2019-05-11 09:28:27 Process::Process -- Tick 411501 nCurrentAsset 1
2019-05-11 09:28:27 receive version message: /bitcoinzseeder:0.01/: version 770005, blocks=0, us=54.36.109.4:16225, peer=6314
2019-05-11 09:28:32 Process::Process -- Tick 411506 nCurrentAsset 1
2019-05-11 09:28:37 Process::Process -- Tick 411511 nCurrentAsset 1
2019-05-11 09:28:42 Process::Process -- Tick 411516 nCurrentAsset 1
2019-05-11 09:28:47 Process::Process -- Tick 411521 nCurrentAsset 1
2019-05-11 09:28:52 Process::Process -- Tick 411526 nCurrentAsset 1
2019-05-11 09:28:53 receive version message: /bitcoinzseeder:0.01/: version 175004, blocks=0, us=54.36.109.4:16225, peer=6315
2019-05-11 09:28:57 Process::Process -- Tick 411531 nCurrentAsset 1
2019-05-11 09:29:02 Process::Process -- Tick 411536 nCurrentAsset 1
2019-05-11 09:29:07 Process::Process -- Tick 411541 nCurrentAsset 1
2019-05-11 09:29:12 Process::Process -- Tick 411546 nCurrentAsset 1
2019-05-11 09:29:17 Process::Process -- Tick 411551 nCurrentAsset 1
2019-05-11 09:29:22 Process::Process -- Tick 411556 nCurrentAsset 1
2019-05-11 09:29:27 Process::Process -- Tick 411561 nCurrentAsset 1
2019-05-11 09:29:32 Process::Process -- Tick 411566 nCurrentAsset 1
2019-05-11 09:29:37 Process::Process -- Tick 411571 nCurrentAsset 1
2019-05-11 09:29:37 UpdateTip: new best=000000397c314889f6f7e73047096353b7df066693ab2c29dce5042e190122eb  height=334308  log2_work=44.99998  tx=937199  date=2019-05-11 09:27:50 progress=0.999997  cache=3.6MiB(4689tx)
2019-05-11 09:29:42 Process::Process -- Tick 411576 nCurrentAsset 1
2019-05-11 09:29:47 Process::Process -- Tick 411581 nCurrentAsset 1
2019-05-11 09:29:52 Process::Process -- Tick 411586 nCurrentAsset 1
2019-05-11 09:29:57 Process::Process -- Tick 411591 nCurrentAsset 1
2019-05-11 09:30:02 Process::Process -- Tick 411596 nCurrentAsset 1
2019-05-11 09:30:07 Process::Process -- Tick 411601 nCurrentAsset 1
2019-05-11 09:30:12 Process::Process -- Tick 411606 nCurrentAsset 1
2019-05-11 09:30:12 UpdateTip: new best=0000001305aa8ddedaa062672753dc26e6471e47abc6a61400ae516cde346cd3  height=334309  log2_work=44.999983  tx=937201  date=2019-05-11 09:29:38 progress=0.999999  cache=3.6MiB(4691tx)
2019-05-11 09:30:17 Process::Process -- Tick 411611 nCurrentAsset 1
2019-05-11 09:30:22 Process::Process -- Tick 411616 nCurrentAsset 1
2019-05-11 09:30:27 Process::Process -- Tick 411621 nCurrentAsset 1
2019-05-11 09:30:32 Process::Process -- Tick 411626 nCurrentAsset 1
2019-05-11 09:30:37 Process::Process -- Tick 411631 nCurrentAsset 1
2019-05-11 09:30:42 Process::Process -- Tick 411636 nCurrentAsset 1
2019-05-11 09:30:47 Process::Process -- Tick 411641 nCurrentAsset 1
2019-05-11 09:30:52 Process::Process -- Tick 411646 nCurrentAsset 1
2019-05-11 09:30:57 Process::Process -- Tick 411651 nCurrentAsset 1
2019-05-11 09:31:02 Process::Process -- Tick 411656 nCurrentAsset 1
2019-05-11 09:31:07 Process::Process -- Tick 411661 nCurrentAsset 1
2019-05-11 09:31:12 Process::Process -- Tick 411666 nCurrentAsset 1
2019-05-11 09:31:17 Process::Process -- Tick 411671 nCurrentAsset 1
2019-05-11 09:31:22 Process::Process -- Tick 411676 nCurrentAsset 1
2019-05-11 09:31:27 Process::Process -- Tick 411681 nCurrentAsset 1
2019-05-11 09:31:32 Process::Process -- Tick 411686 nCurrentAsset 1
2019-05-11 09:31:37 Process::Process -- Tick 411691 nCurrentAsset 1
2019-05-11 09:31:42 Process::Process -- Tick 411696 nCurrentAsset 1
2019-05-11 09:31:47 Process::Process -- Tick 411701 nCurrentAsset 1
2019-05-11 09:31:52 Process::Process -- Tick 411706 nCurrentAsset 1
2019-05-11 09:31:53 receive version message: /zcashseeder:0.01/: version 170007, blocks=0, us=54.36.109.4:16225, peer=6316
2019-05-11 09:31:57 Process::Process -- Tick 411711 nCurrentAsset 1
2019-05-11 09:32:02 Process::Process -- Tick 411716 nCurrentAsset 1
2019-05-11 09:32:07 Process::Process -- Tick 411721 nCurrentAsset 1
2019-05-11 09:32:12 Process::Process -- Tick 411726 nCurrentAsset 1
2019-05-11 09:32:17 Process::Process -- Tick 411731 nCurrentAsset 1
2019-05-11 09:32:22 Process::Process -- Tick 411736 nCurrentAsset 1
2019-05-11 09:32:27 Process::Process -- Tick 411741 nCurrentAsset 1
2019-05-11 09:32:32 Process::Process -- Tick 411746 nCurrentAsset 1
2019-05-11 09:32:37 Process::Process -- Tick 411751 nCurrentAsset 1
2019-05-11 09:32:42 Process::Process -- Tick 411756 nCurrentAsset 1
2019-05-11 09:32:47 Process::Process -- Tick 411761 nCurrentAsset 1
2019-05-11 09:32:52 Process::Process -- Tick 411766 nCurrentAsset 1
2019-05-11 09:32:57 Process::Process -- Tick 411771 nCurrentAsset 1
2019-05-11 09:33:02 Process::Process -- Tick 411776 nCurrentAsset 1
2019-05-11 09:33:07 Process::Process -- Tick 411781 nCurrentAsset 1
2019-05-11 09:33:12 Process::Process -- Tick 411786 nCurrentAsset 1
2019-05-11 09:33:17 Process::Process -- Tick 411791 nCurrentAsset 1
2019-05-11 09:33:22 Process::Process -- Tick 411796 nCurrentAsset 1
2019-05-11 09:33:27 Process::Process -- Tick 411801 nCurrentAsset 1
2019-05-11 09:33:32 Process::Process -- Tick 411806 nCurrentAsset 1
2019-05-11 09:33:37 Process::Process -- Tick 411811 nCurrentAsset 1
2019-05-11 09:33:42 Process::Process -- Tick 411816 nCurrentAsset 1
2019-05-11 09:33:47 Process::Process -- Tick 411821 nCurrentAsset 1
2019-05-11 09:33:52 Process::Process -- Tick 411826 nCurrentAsset 1
2019-05-11 09:33:57 Process::Process -- Tick 411831 nCurrentAsset 1
2019-05-11 09:34:02 Process::Process -- Tick 411836 nCurrentAsset 1
2019-05-11 09:34:07 Process::Process -- Tick 411841 nCurrentAsset 1
2019-05-11 09:34:10 receive version message: /zelcashseeder:0.01/: version 170010, blocks=0, us=54.36.109.4:16225, peer=6317
2019-05-11 09:34:12 Process::Process -- Tick 411846 nCurrentAsset 1
2019-05-11 09:34:17 Process::Process -- Tick 411851 nCurrentAsset 1
2019-05-11 09:34:22 Process::Process -- Tick 411856 nCurrentAsset 1
2019-05-11 09:34:27 Process::Process -- Tick 411861 nCurrentAsset 1
2019-05-11 09:34:27 receive version message: /bitcoinzseeder:0.01/: version 770004, blocks=0, us=54.36.109.4:16225, peer=6318
2019-05-11 09:34:32 Process::Process -- Tick 411866 nCurrentAsset 1
2019-05-11 09:34:37 Process::Process -- Tick 411871 nCurrentAsset 1
2019-05-11 09:34:42 Process::Process -- Tick 411876 nCurrentAsset 1
2019-05-11 09:34:47 Process::Process -- Tick 411881 nCurrentAsset 1
2019-05-11 09:34:52 Process::Process -- Tick 411886 nCurrentAsset 1
2019-05-11 09:34:57 Process::Process -- Tick 411891 nCurrentAsset 1
2019-05-11 09:35:02 Process::Process -- Tick 411896 nCurrentAsset 1
2019-05-11 09:35:07 Process::Process -- Tick 411901 nCurrentAsset 1
2019-05-11 09:35:12 Process::Process -- Tick 411906 nCurrentAsset 1
2019-05-11 09:35:17 Process::Process -- Tick 411911 nCurrentAsset 1
2019-05-11 09:35:22 Process::Process -- Tick 411916 nCurrentAsset 1
2019-05-11 09:35:27 Process::Process -- Tick 411921 nCurrentAsset 1
2019-05-11 09:35:32 Process::Process -- Tick 411926 nCurrentAsset 1
2019-05-11 09:35:37 Process::Process -- Tick 411931 nCurrentAsset 1
2019-05-11 09:35:42 Process::Process -- Tick 411936 nCurrentAsset 1
2019-05-11 09:35:47 Process::Process -- Tick 411941 nCurrentAsset 1
2019-05-11 09:35:52 Process::Process -- Tick 411946 nCurrentAsset 1
2019-05-11 09:35:57 Process::Process -- Tick 411951 nCurrentAsset 1
2019-05-11 09:36:02 Process::Process -- Tick 411956 nCurrentAsset 1
2019-05-11 09:36:07 Process::Process -- Tick 411961 nCurrentAsset 1
2019-05-11 09:36:12 Process::Process -- Tick 411966 nCurrentAsset 1
2019-05-11 09:36:17 Process::Process -- Tick 411971 nCurrentAsset 1
2019-05-11 09:36:22 Process::Process -- Tick 411976 nCurrentAsset 1
2019-05-11 09:36:27 Process::Process -- Tick 411981 nCurrentAsset 1
2019-05-11 09:36:32 Process::Process -- Tick 411986 nCurrentAsset 1
2019-05-11 09:36:37 Process::Process -- Tick 411991 nCurrentAsset 1
2019-05-11 09:36:42 Process::Process -- Tick 411996 nCurrentAsset 1
2019-05-11 09:36:47 Process::Process -- Tick 412001 nCurrentAsset 1
2019-05-11 09:36:52 Process::Process -- Tick 412006 nCurrentAsset 1
2019-05-11 09:36:56 receive version message: /bitcoinzseeder:0.01/: version 770005, blocks=0, us=54.36.109.4:16225, peer=6319
2019-05-11 09:36:57 Process::Process -- Tick 412011 nCurrentAsset 1
2019-05-11 09:37:02 Process::Process -- Tick 412016 nCurrentAsset 1
2019-05-11 09:37:07 Process::Process -- Tick 412021 nCurrentAsset 1
2019-05-11 09:37:12 Process::Process -- Tick 412026 nCurrentAsset 1
2019-05-11 09:37:17 Process::Process -- Tick 412031 nCurrentAsset 1
2019-05-11 09:37:22 Process::Process -- Tick 412036 nCurrentAsset 1
2019-05-11 09:37:25 receive version message: /MagicBean:2.0.2/: version 170007, blocks=0, us=54.36.109.4:16225, peer=6320
2019-05-11 09:37:27 Process::Process -- Tick 412041 nCurrentAsset 1
2019-05-11 09:37:32 Process::Process -- Tick 412046 nCurrentAsset 1
2019-05-11 09:37:37 Process::Process -- Tick 412051 nCurrentAsset 1
2019-05-11 09:37:42 Process::Process -- Tick 412056 nCurrentAsset 1
2019-05-11 09:37:44 receive version message: /zcashseeder:0.01/: version 170007, blocks=0, us=54.36.109.4:16225, peer=6321
2019-05-11 09:37:47 Process::Process -- Tick 412061 nCurrentAsset 1
2019-05-11 09:37:52 Process::Process -- Tick 412066 nCurrentAsset 1
2019-05-11 09:37:52 receive version message: /zcashseeder:0.01/: version 170007, blocks=0, us=54.36.109.4:16225, peer=6322
2019-05-11 09:37:57 Process::Process -- Tick 412071 nCurrentAsset 1
2019-05-11 09:38:02 Process::Process -- Tick 412076 nCurrentAsset 1
2019-05-11 09:38:05 receive version message: /zelcashseeder:0.01/: version 170010, blocks=0, us=54.36.109.4:16225, peer=6323
2019-05-11 09:38:07 Process::Process -- Tick 412081 nCurrentAsset 1
2019-05-11 09:38:11 UpdateTip: new best=000000207b7d2f1f3e77fc8ef4585b91c600fc148a5dfb5212d522bab303927d  height=334310  log2_work=44.999985  tx=937204  date=2019-05-11 09:35:13 progress=0.999996  cache=3.6MiB(4693tx)
2019-05-11 09:38:12 Process::Process -- Tick 412086 nCurrentAsset 1
2019-05-11 09:38:17 Process::Process -- Tick 412091 nCurrentAsset 1
2019-05-11 09:38:22 Process::Process -- Tick 412096 nCurrentAsset 1
2019-05-11 09:38:23 receive version message: /bzedgeseeder:0.02/: version 175004, blocks=0, us=54.36.109.4:16225, peer=6324
2019-05-11 09:38:27 Process::Process -- Tick 412101 nCurrentAsset 1
2019-05-11 09:38:32 Process::Process -- Tick 412106 nCurrentAsset 1
2019-05-11 09:38:37 Process::Process -- Tick 412111 nCurrentAsset 1
2019-05-11 09:38:41 UpdateTip: new best=00000041f10dcbcbee4819f455bf14af90acb5d601e57bde3d626fc0c101ce8c  height=334311  log2_work=44.999988  tx=937206  date=2019-05-11 09:38:11 progress=0.999999  cache=3.6MiB(4694tx)
2019-05-11 09:38:42 Process::Process -- Tick 412116 nCurrentAsset 1
2019-05-11 09:38:47 Process::Process -- Tick 412121 nCurrentAsset 1
2019-05-11 09:38:52 receive version message: /zelcashseeder:0.01/: version 170010, blocks=0, us=54.36.109.4:16225, peer=6325
2019-05-11 09:38:52 Process::Process -- Tick 412126 nCurrentAsset 1
2019-05-11 09:38:52 ZelnodeSync::GetNextAsset -- Starting Synchronizing zelnode list...
2019-05-11 09:38:57 Process::Process -- Tick 412131 nCurrentAsset 2
2019-05-11 09:39:02 Process::Process -- Tick 412136 nCurrentAsset 2
2019-05-11 09:39:04 UpdateTip: new best=0000002fdc20fa0d222b3bf3aec748cad6dae0845666ca5d23b7a0af22648518  height=334312  log2_work=44.99999  tx=937207  date=2019-05-11 09:38:41 progress=0.999999  cache=3.6MiB(4695tx)
2019-05-11 09:39:07 Process::Process -- Tick 412141 nCurrentAsset 2
2019-05-11 09:39:10 receive version message: /zelcashseeder:0.01/: version 170010, blocks=0, us=54.36.109.4:16225, peer=6326
2019-05-11 09:39:12 Process::Process -- Tick 412146 nCurrentAsset 2
2019-05-11 09:39:17 Process::Process -- Tick 412151 nCurrentAsset 2
2019-05-11 09:39:22 Process::Process -- Tick 412156 nCurrentAsset 2
2019-05-11 09:39:27 Process::Process -- Tick 412161 nCurrentAsset 2
2019-05-11 09:39:32 Process::Process -- Tick 412166 nCurrentAsset 2
2019-05-11 09:39:37 Process::Process -- Tick 412171 nCurrentAsset 2
2019-05-11 09:39:42 Process::Process -- Tick 412176 nCurrentAsset 2

More Threads

How do we allow the Daemon to run more than 1 thread for the default solver?

Getting errors on zelcash cross win compilation

I am going through all the steps wriiten on zelcash github for cross win compilation on ububtu getting like this i am not fix this error..
image
the debug also here
make[1]: Entering directory '/root/zelcash/src/snark'
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/algebra/curves/tests/test_bilinearity.o libsnark/algebra/curves/tests/test_bilinearity.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/algebra/curves/tests/test_groups.o libsnark/algebra/curves/tests/test_groups.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/algebra/fields/tests/test_bigint.o libsnark/algebra/fields/tests/test_bigint.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
In file included from libsnark/algebra/fields/tests/test_bigint.cpp:10:0:
/root/zelcash/depends/x86_64-w64-mingw32/share/../include/gtest/gtest.h: In instantiation of ‘testing::AssertionResult testing::internal::CmpHelperLT(const char*, const char*, const T1&, const T2&) [with T1 = long long unsigned int; T2 = int]’:
libsnark/algebra/fields/tests/test_bigint.cpp:63:5: required from here
/root/zelcash/depends/x86_64-w64-mingw32/share/../include/gtest/gtest.h:1526:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/root/zelcash/depends/x86_64-w64-mingw32/share/../include/gtest/gtest.h:1510:7:
if (val1 op val2) {
~~~~~~~~~
/root/zelcash/depends/x86_64-w64-mingw32/share/../include/gtest/gtest.h:1526:28:
GTEST_IMPL_CMP_HELPER_(LT, <);
/root/zelcash/depends/x86_64-w64-mingw32/share/../include/gtest/gtest.h:1510:12: note: in definition of macro ‘GTEST_IMPL_CMP_HELPER_’
if (val1 op val2) {
^~
/root/zelcash/depends/x86_64-w64-mingw32/share/../include/gtest/gtest.h: In instantiation of ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = long long unsigned int; T2 = int]’:
/root/zelcash/depends/x86_64-w64-mingw32/share/../include/gtest/gtest.h:1421:23: required from ‘static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = long long unsigned int; T2 = int; bool lhs_is_null_literal = false]’
libsnark/algebra/fields/tests/test_bigint.cpp:38:5: required from here
/root/zelcash/depends/x86_64-w64-mingw32/share/../include/gtest/gtest.h:1392:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lhs == rhs) {
~~~~^~~~~~
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/algebra/fields/tests/test_fields.o libsnark/algebra/fields/tests/test_fields.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
In file included from libsnark/algebra/fields/tests/test_fields.cpp:15:0:
/root/zelcash/depends/x86_64-w64-mingw32/share/../include/gtest/gtest.h: In instantiation of ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = long long unsigned int; T2 = int]’:
/root/zelcash/depends/x86_64-w64-mingw32/share/../include/gtest/gtest.h:1421:23: required from ‘static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = long long unsigned int; T2 = int; bool lhs_is_null_literal = false]’
libsnark/algebra/fields/tests/test_fields.cpp:91:5: required from ‘void test_unitary_inverse() [with FieldT = libsnark::Fp12_2over3over2_model<4, ((const libsnark::bigint<4>&)(& libsnark::alt_bn128_modulus_q))>]’
libsnark/algebra/fields/tests/test_fields.cpp:112:36: required from ‘void test_all_fields() [with ppT = libsnark::alt_bn128_pp]’
libsnark/algebra/fields/tests/test_fields.cpp:184:35: required from here
/root/zelcash/depends/x86_64-w64-mingw32/share/../include/gtest/gtest.h:1392:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lhs == rhs) {
~~~~^~~~~~
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/gadgetlib1/gadgets/hashes/sha256/tests/test_sha256_gadget.o libsnark/gadgetlib1/gadgets/hashes/sha256/tests/test_sha256_gadget.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/gadgetlib1/gadgets/merkle_tree/tests/test_merkle_tree_gadgets.o libsnark/gadgetlib1/gadgets/merkle_tree/tests/test_merkle_tree_gadgets.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/relations/arithmetic_programs/qap/tests/test_qap.o libsnark/relations/arithmetic_programs/qap/tests/test_qap.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/zk_proof_systems/ppzksnark/r1cs_ppzksnark/tests/test_r1cs_ppzksnark.o libsnark/zk_proof_systems/ppzksnark/r1cs_ppzksnark/tests/test_r1cs_ppzksnark.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/gtests.o libsnark/gtests.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/algebra/curves/alt_bn128/alt_bn128_g1.o libsnark/algebra/curves/alt_bn128/alt_bn128_g1.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/algebra/curves/alt_bn128/alt_bn128_g2.o libsnark/algebra/curves/alt_bn128/alt_bn128_g2.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/algebra/curves/alt_bn128/alt_bn128_init.o libsnark/algebra/curves/alt_bn128/alt_bn128_init.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/algebra/curves/alt_bn128/alt_bn128_pairing.o libsnark/algebra/curves/alt_bn128/alt_bn128_pairing.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/algebra/curves/alt_bn128/alt_bn128_pp.o libsnark/algebra/curves/alt_bn128/alt_bn128_pp.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/common/profiling.o libsnark/common/profiling.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/common/utils.o libsnark/common/utils.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/gadgetlib1/constraint_profiling.o libsnark/gadgetlib1/constraint_profiling.cpp -c -MMD -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp
ar q libsnark.a libsnark/algebra/curves/alt_bn128/alt_bn128_g1.o libsnark/algebra/curves/alt_bn128/alt_bn128_g2.o libsnark/algebra/curves/alt_bn128/alt_bn128_init.o libsnark/algebra/curves/alt_bn128/alt_bn128_pairing.o libsnark/algebra/curves/alt_bn128/alt_bn128_pp.o libsnark/common/profiling.o libsnark/common/utils.o libsnark/gadgetlib1/constraint_profiling.o
ar: creating libsnark.a
if [ -n "" ]; then mkdir -p tmp-ar; cd tmp-ar; for AR_LIB in ; do ar x $AR_LIB; done; ar qc libsnark.a tmp-ar/*; cd ..; rm -r tmp-ar; fi;
ar s libsnark.a

Create placeholder directories for installed dependencies. Some make settings (including the default) require actually running ./prepare-depends.sh to populate this directory.

mkdir -p /root/zelcash/depends/x86_64-w64-mingw32/share/../lib /root/zelcash/depends/x86_64-w64-mingw32/share/../include
touch /root/zelcash/depends/x86_64-w64-mingw32/share/../.exists
/root/zelcash/depends/x86_64-w64-mingw32/share/../native/bin/ccache x86_64-w64-mingw32-g++-posix -std=c++11 -o libsnark/gtests libsnark/algebra/curves/tests/test_bilinearity.o libsnark/algebra/curves/tests/test_groups.o libsnark/algebra/fields/tests/test_bigint.o libsnark/algebra/fields/tests/test_fields.o libsnark/gadgetlib1/gadgets/hashes/sha256/tests/test_sha256_gadget.o libsnark/gadgetlib1/gadgets/merkle_tree/tests/test_merkle_tree_gadgets.o libsnark/relations/arithmetic_programs/qap/tests/test_qap.o libsnark/zk_proof_systems/ppzksnark/r1cs_ppzksnark/tests/test_r1cs_ppzksnark.o libsnark/gtests.o libsnark.a -fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1 -fstack-protector-all -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wfatal-errors -O2 -march=x86-64 -DMONTGOMERY_OUTPUT -DCURVE_ALT_BN128 -I/root/zelcash/depends/x86_64-w64-mingw32/share/../include -Ilibsnark -DNO_PROCPS -static -DSTATIC -DMULTICORE -fopenmp -L/root/zelcash/depends/x86_64-w64-mingw32/share/../lib -Wl,-rpath,/root/zelcash/depends/x86_64-w64-mingw32/share/../lib -lgtest -lpthread -lgmpxx -lgmp -lboost_program_options-mt -lsodium
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lboost_program_options-mt
collect2: error: ld returned 1 exit status
Makefile:226: recipe for target 'libsnark/gtests' failed
make[1]: *** [libsnark/gtests] Error 1
make[1]: Leaving directory '/root/zelcash/src/snark'
Makefile:6017: recipe for target 'snark/libsnark.a' failed
make: *** [snark/libsnark.a] Error 2

i m not getting the solutions hiw to fix /usr/bin/x86_64-w64-mingw32-ld: cannot find -lboost_program_options-mt

ZelNode Error: Failed to find daemon application

Hello,

I get this error when I start my Zelnode on my VPS Error: Failed to find daemon application

When I delete zelnode=1 to my Zelcash.conf daemon start whithout problem.
I don't have any idea what the problem

Please can you help me?

Merged Mining

Hello. Is merged mining's feature exists in ZelCash blockchain?

Add version info

Flux-amd64-v5.2.1.tar.gz

When FLUX node is running in console, without any parameter (fluxd), it prints some info:

Thank you for running a Zelcash node!
You're helping to strengthen the network and contributing to a social good :)

In order to ensure you are adequately protecting your privacy when using
Zelcash, please see <https://z.cash/support/security/>.

I would like to see version of fluxd code on that screen.

Can't compile on Arch

Compiling on Archlinux fails with the following error message:

In file included from crypto/equihash.cpp:21:                                                          
./crypto/equihash.h: In function ‘bool EhBasicSolve(unsigned int, unsigned int, const eh_HashState&, std::function<bool(std::vector<unsigned char>)>, std::function<bool(EhSolverCancelCheck)>)’:
./crypto/equihash.h:239:20: error: ‘invalid_argument’ is not a member of ‘std’  
  239 |         throw std::invalid_argument("Unsupported Equihash parameters");                 
      |                    ^~~~~~~~~~~~~~~~                                                            
./crypto/equihash.h: In function ‘bool EhOptimisedSolve(unsigned int, unsigned int, const eh_HashState&, std::function<bool(std::vector<unsigned char>)>, std::function<bool(EhSolverCancelCheck)>)’:
./crypto/equihash.h:267:20: error: ‘invalid_argument’ is not a member of ‘std’        
  267 |         throw std::invalid_argument("Unsupported Equihash parameters");     
      |                    ^~~~~~~~~~~~~~~~
make[2]: *** [Makefile:3032: crypto/libbitcoin_crypto_a-equihash.o] Error 1     

Error on Sprout to Sapling Migration Tool

On latests Zelmate Version it was incorporated the Sprout to Sapling Migration Tool.
Zelmate calls the rcp z_getmigrationstatus to know the status on wallet startup and every few seconds to show that information on home dashboard.
For some users when Zelmate execute that command on wallet startup the daemon crashs and zelmate fails to start. Every time that happens a new sapling address is generated (users find out that rolling back zelmate to previous version without the sprout to sapling migration tool incorporated).
error_sprout_to_sapling

Inconsistency between the data returned by my node and the public API node

public API node

curl -s -X GET https://api.runonflux.io/daemon/getfluxnodestatus | jq
{
  "status": "success",
  "data": {
    "status": "CONFIRMED",
    "collateral": "COutPoint(9d0d3d0d90355ceebe05522a911c70ddefc4d5a1b501a75bbbe8de778d4e422d, 0)",
    "txhash": "9d0d3d0d90355ceebe05522a911c70ddefc4d5a1b501a75bbbe8de778d4e422d",
    "outidx": "0",
    "ip": "64.32.48.28",
    "network": "ipv4",
    "added_height": 1448447,
    "confirmed_height": 1448449,
    "last_confirmed_height": 1556752,
    "last_paid_height": 1555647,
    "tier": "STRATUS",
    "payment_address": "t1VXMTF9roHHMiVd5gXBX5JcLtB9EKbfRwE",
    "pubkey": "043d191972eda72cc0b028ddfaaf8de5d0487d5e90a092161b69e92ca8adfcc00f35bbfc581d19feba6da8dc9c503fd6313962c33ae788027cef8f395dda8b141a",
    "activesince": "1692192728",
    "lastpaid": "1705166055",
    "amount": "40000.00"
  }
}

My Nodes

curl -s -X GET http://127.0.0.1:16127/daemon/getfluxnodestatus | jq
{
  "status": "error",
  "data": {
    "code": -1,
    "name": "Error",
    "message": "This is not a Flux Node"
  }
}

I check the source code and need to enable -zelnode, how should I run the service?

/opt/fluxmain/core/fluxd -disablewallet
daemon=0
server=1
txindex=1
addressindex=1
timestampindex=1
spentindex=1
zmqpubrawtx=tcp://127.0.0.1:28332
zmqpubhashblock=tcp://127.0.0.1:28332
rpcbind=0.0.0.0:16124
rpcport=16124
rpcallowip=0.0.0.0/0
#datadir=/mnt/fluxmain/node
maxmempool=1024
dbcache=2048
limitancestorcount=400
limitdescedantcount=400
limitdescendantcount=400
rpcworkqueue=1000
rpcthreads=3000

Update old rpc calls using push_back to newer pushKV

Most of the current rpc calls are using older code that code be updated.

The rpc files are listed in /src/rpc

This only works on UniValue::VOBJ objects

e.g info.push_back(std::make_pair("collateral", data.collateralIn.ToFullString())); -> info.pushKV("collateral", data.collateralIn.ToFullString());

Please write down the stopped block height in release note

There is no update about the stopped block height in 3.3.3 release note.
And my 3.3.0 node stopped at some block height when I check the debug log.
The log told me the 3.3.0 release are not supported.

I always read the release note to get the upgrade information and there is no metions that 3.3.0 will useless on which block.

Build problem Ubuntu 21.10

May apply to other versions, but it did build fine on docker image of 20.04

I found two issues and need help properly applying them to the code base

When starting fluxnode via full node daemon. Some nodes don't start

2023-04-24 16:23:35 BuildDeterministicStartTx - Couldn't find Flux Node Vin: Couldn't Lock Wallet 2023-04-24 16:23:40 BuildDeterministicStartTx - Couldn't find Flux Node Vin: Couldn't Lock Wallet 2023-04-24 16:23:44 BuildDeterministicStartTx - Couldn't find Flux Node Vin: Couldn't Lock Wallet 2023-04-24 16:23:49 BuildDeterministicStartTx - Couldn't find Flux Node Vin: Couldn't Lock Wallet 2023-04-24 16:23:52 BuildDeterministicStartTx - Couldn't find Flux Node Vin: Couldn't Lock Wallet 2023-04-24 16:23:58 BuildDeterministicStartTx - Couldn't find Flux Node Vin: Couldn't Lock Wallet

Zel Core Full node

Hello,

When I start Full node Full node wallet opens , but then there flashs all time an error

System error: CDB: Error -30974, can't open database wallet.dat

Tried to reindex , but not possible.

Add accounts/address back to rpc in sendfrom and sendmany call.

Please bring back accounts so user could use zelcash-cli sendfrom "account/address" "receiving_address" amount instead of "" which supposedly takes from default account. Very difficult to group coins to one address without this option.

Same with sendmany call it would be nice to send from a specific address like you still could with z_sendmany. Thanks!

Flux for i386 is amd64 code

File: flux_i386_v6.2.0.deb
Debian 12 running at Intel Atom N280 (i686 only, no support for amd64)

debian@atom:~$ uname -a
Linux atom 6.1.0-11-686-pae #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-4 (2023-08-08) i686 GNU/Linux
debian@atom:~$ sudo dpkg -i flux_i386_v6.2.0.deb 
Selecting previously unselected package flux.
(Reading database ... 59540 files and directories currently installed.)
Preparing to unpack flux_i386_v6.2.0.deb ...
Unpacking flux (6.2.0) ...
Setting up flux (6.2.0) ...
debian@atom:~$ dpkg -la | grep flux
ii  flux                                6.2.0                          i386         Flux is a cryptocurrency that empowers Flux - Your gateway to a decetralized world.
debian@atom:~$ fluxd --version
bash: /usr/local/bin/fluxd: cannot execute binary file: Exec format error
debian@atom:~$ which fluxd
/usr/local/bin/fluxd

Binaries were build for amd64 architecture (the issue):

debian@atom:~$ file /usr/local/bin/flux*
/usr/local/bin/flux-cli:             ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=3d83c27c72f13b6d3779d51cb2b0c794530b768c, stripped
/usr/local/bin/fluxd:                ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=24bd0d395fe7fa05ea7177b12c6edfd32ed25463, stripped
/usr/local/bin/flux-fetch-params.sh: Bourne-Again shell script, ASCII text executable
/usr/local/bin/flux-tx:              ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=9c5762a84110346fb8f97b7222d3c7ff278c58f4, stripped

Just for reference, architecture i386 is expected:

debian@atom$ file /bin/bash
/bin/bash: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, BuildID[sha1]=2d1c62b4bd89f14c30f1ea1281fbbb05bd785fb0, for GNU/Linux 3.2.0, stripped

Invalid Solution

The zelcashd looses its connections with following errors:

2018-03-04 21:58:27 initial getheaders (1367) to peer=3 (startheight:24956)
2018-03-04 21:58:27 sending: getheaders (741 bytes) peer=3
2018-03-04 21:58:28 received: headers (238081 bytes) peer=3
2018-03-04 21:58:28 Invalid solution: invalid collision length between StepRows
2018-03-04 21:58:28 X[i] = 0effd40c45c6091e0a0b1bbc03da7703ce780f97b00954890d9d8e018b8c
2018-03-04 21:58:28 X[i+1] = 0e09ad07853d06dafc003b9d0766470bea100104ef0f3ff60f9fa803ef72
2018-03-04 21:58:28 ERROR: CheckEquihashSolution(): invalid solution
2018-03-04 21:58:28 ERROR: CheckBlockHeader(): Equihash solution invalid
2018-03-04 21:58:28 Misbehaving: 46.36.39.93:16125 (0 -> 100) BAN THRESHOLD EXCEEDED
2018-03-04 21:58:28 ERROR: invalid header received
2018-03-04 21:58:28 ProcessMessages(headers, 238081 bytes) FAILED peer=3
2018-03-04 21:58:28 disconnecting peer=3

It eventually passes this invalid solution and syncs. Pool operators have reported the same issue at newly found blocks and their node needs to be restarted in order to run (pool to mine) correctly

a core dumped, when zelcashd started

I am going through all the steps wriiten on zelcash github ZelNodeinstallv2 and as result:
мар 01 21:40:38 ubuntuRomanmazay zelcashd[2310]: zelcashd: chain.cpp:93: CBlockIndex* CBlockIndex::GetAncestor(int): Assertion `pindexWalk->pprev' failed.
мар 01 21:40:38 ubuntuRomanmazay systemd[1]: zelcash.service: Main process exited, code=dumped, status=6/ABRT
мар 01 21:40:38 ubuntuRomanmazay systemd[1]: zelcash.service: Failed with result 'core-dump'.

Problem installation. Debian Buster.

Screenshot from 2022-03-16 15-16-58

Unsupported for DB 6.x Debian only have 5.3

Screenshot from 2022-03-16 20-47-24

Install from sources of Barkley DB not work. still used same. and on forum they said not support DB 6.x yet for Buster.

Go through and remove redundant if (IsDZelnodeActive()) checks

Now that deterministic zelnodes is active on mainnet for a while. Some places don't need to check if it is active anymore.

This include rpc calls, and some consensus code. We should be careful when removing this check as in some places if could save time while syncing blocks earlier in the chain.

ERROR: CheckBlock : Couldn't find zelnode payment

Zelcash version v3.1.0-3c3215e-dirty (2019-03-01 17:01:48 +0000)

2019-03-28 05:20:34 UpdateTip: new best=0000001bdb6a9c89c31aa002e5e4901ee45a31310be87358bd5e8faf87999ef4  height=302876  log2_work=44.884732  tx=839072  date=2019-03-28 05:20:11 progress=0.999999  cache$
2019-03-28 05:20:34 ERROR: CheckBlock : Couldn't find zelnode payment
2019-03-28 05:20:34 ERROR: ProcessNewBlock: CheckBlock FAILED
2019-03-28 05:20:34 ERROR: CheckBlock : Couldn't find zelnode payment
2019-03-28 05:20:34 ERROR: ProcessNewBlock: CheckBlock FAILED
2019-03-28 05:20:34 ERROR: CheckBlock : Couldn't find zelnode payment
2019-03-28 05:20:34 ERROR: ProcessNewBlock: CheckBlock FAILED
2019-03-28 05:20:34 ERROR: CheckBlock : Couldn't find zelnode payment
2019-03-28 05:20:34 ERROR: ProcessNewBlock: CheckBlock FAILED
2019-03-28 05:20:34 ERROR: CheckBlock : Couldn't find zelnode payment
2019-03-28 05:20:34 ERROR: ProcessNewBlock: CheckBlock FAILED
2019-03-28 05:20:35 ERROR: CheckBlock : Couldn't find zelnode payment
2019-03-28 05:20:35 ERROR: ProcessNewBlock: CheckBlock FAILED
2019-03-28 05:20:35 ERROR: CheckBlock : Couldn't find zelnode payment
2019-03-28 05:20:35 ERROR: ProcessNewBlock: CheckBlock FAILED
2019-03-28 05:20:35 ERROR: CheckBlock : Couldn't find zelnode payment
2019-03-28 05:20:35 ERROR: ProcessNewBlock: CheckBlock FAILED
2019-03-28 05:20:35 ERROR: CheckBlock : Couldn't find zelnode payment
2019-03-28 05:20:35 ERROR: ProcessNewBlock: CheckBlock FAILED
2019-03-28 05:20:35 ERROR: CheckBlock : Couldn't find zelnode payment

ZelCash v3.0.0 fails to run/build on CentOS 7.x

Downloaded Linux binary release, run failed.

$ ./zelcashd
./zelcashd: /lib64/libstdc++.so.6: version CXXABI_1.3.8' not found (required by ./zelcashd) ./zelcashd: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by ./zelcashd)
./zelcashd: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by ./zelcashd) ./zelcashd: /lib64/libc.so.6: version GLIBC_2.18' not found (required by ./zelcashd)

When building, run "./zcutil/build.sh -j$(nproc)", failed at the first time, run again, succeeded but run zelcashd failed.

$ ./src/zelcashd
terminate called after throwing an instance of 'std::regex_error'
what(): regex_error
Aborted

In config.log, it shows errors like:
conftest.cpp:59:34: fatal error: libdb62/db_cxx.h: No such file or directory
#include <libdb62/db_cxx.h>
^
Seems like requiring libdb6.x, but the OS has libdb5.x installed by default.

OS info:
$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.6.1810 (Core)
Release: 7.6.1810
Codename: Core

Crash after submitting a new block

At height 1280555, one of our node crashed with the following logs:

09:47:54.683 CreateNewBlock(): total size 55111
09:47:54.717 CreateNewBlock(): total size 55111
09:48:20.965 receive version message: /flux_seeder:1.00/: version 170018, blocks=1000000, us=********:16125, peer=579362
09:48:36.707 ERROR: Flush - 812 , Found map:at error

It happens that we were submitting a block to this node at the exact same second of the crash, so it might be the trigger of the error.

Invalid Params Status Code 500

Some users report to receive lots of errors 500 from daemon running zelcore.
The error is received by daemon and can be returned from several rcp commands.

How to replicate (Thanks to Bobb):
problematic z-address:
key:
secret-extended-key-main1qv6sq6v2qqqqpqxgl8lsxudr78c57p6waxcs3k3454xsv3txtpn9fcal257cjxl7h7jdrzv6lek6pfukdmv9s4a6knw0w3p6a2eyxe548dcwk0zd3x8s6stcnpqdu8avxp7yh5lp3yjhcns6n9rupm5vcrse2wrwvq2zrrqgynhqrjngm6h7gyrdr5qeng40cn66hfz269ru94srtad5sltff3suhevww2ntatahsu6s96nlaqrxsseap07hqdy775pl5x485yeutzcrd0nxc

zaddr=za1e4dh59thf7y2l7sxz6y20xz9p7xzuqag679mquagderqqpyegf6g8qjcjeflnunudjurx3zjjws

to reproduce, you must import it together with another (any) t-address, and then rescan
(try Kyf2ZxJWAzLCwUWVSC6W4rYk3zSr7iaZJzjstVvihh4CQrGmJJS9 2019-10-12T22:04:19Z label= # addr=t1cQuMxPFPFtMUTbsSTbKSYY37JQXkiR7Sn

unused address)

(tested >> import only this z-address + rescan does not reproduce error)
(tested >> import this z-address + other zaddress + rescan does not reproduce error)
(tested >> import other used z-address + another t-addres + rescan does not reproduce error)

after rescan it takes upto a minute until the error starts popping up
every test was done with a new (empty) wallet
Invalid_params_status_code_500

Need to update Copyright message

Found this in mining.ccp
// Copyright (c) 2019 The Zelcash Core developers

Looks at other files and found no mention of Zelcash or Flux developers
Should we add a copyright message to everything we have changed?

getblocktemplate stops including basic_zelnode_address and bamf_zelnode_address

Every once in a while, a running zelcashd stops returning certain payment-related fields in the getblocktemplate response until restarted:

{
  "capabilities": [
    "proposal"
  ],
  "version": 4,
  "previousblockhash": "000000325d9546f85a03992ab0bce6dd7ffa45d6b9445ac068cbc4e0040f38ab",
  "finalsaplingroothash": "1df2e5e96c4baba421eb14e8a09e1c5cefbcba68dea6c9310435adab99d0e0a2",
  "transactions": [
  ],
  "coinbasetxn": {
    "data": "0400008085202f89010000000000000000000000000000000000000000000000000000000000000000ffffffff0503c8370600ffffffff02a0b83046030000001976a91404e2699cec5f44280540fb752c7660aa3ba857cc88ac601de137000000001976a914e55c7c067e5e34fb6f749743e5843301f9ffdea988ac00000000000000000000000000000000000000",
    "hash": "0dde52dbf4df6498608000138551da8c63d28f77878ea2776a1e6010ae56633f",
    "depends": [
    ],
    "fee": 0,
    "sigops": 2,
    "required": true
  },
  "longpollid": "000000325d9546f85a03992ab0bce6dd7ffa45d6b9445ac068cbc4e0040f38ab142834",
  "target": "00000042ee1d0000000000000000000000000000000000000000000000000000",
  "mintime": 1566420859,
  "mutable": [
    "time",
    "transactions",
    "prevblock"
  ],
  "noncerange": "00000000ffffffff",
  "sigoplimit": 20000,
  "sizelimit": 2000000,
  "curtime": 1566421581,
  "bits": "1d42ee1d",
  "height": 407496,
  "miner_reward": 14062500000,
  "super_zelnode_address": "t1enMYCUYBJxamSqvCYLhvoUv4NizCZvfFT",
  "super_zelnode_payout": 937500000
}

As you can see, basic_zelnode_address, basic_zelnode_payout, bamf_zelnode_address, bamf_zelnode_payout fields are missing.

Restarting zelcashd returns the expected behavior.

Go through the code base looking for TODO comments

Hint - Search for the text TODO

Lets go through and update the codebase and either implement or remove the functionality rewritten in the TODO comments.

Not all the changes will be accepted, but this is a good issue for someone looking to submit a PR that touches multiple files.

If you are aren't sure if a TODO should be remove or implemented. Reach out to @blondfrogs

Build failed: v3.3.3

OS: Ubuntu 18.04.3 LTS, 4.15.0-70-generic
Build from scratch.
$ git checkout -b v3.3.3 v3.3.3
$ ./zcutil/build.sh -j$(proc)

It fails with lots of "undefined reference" errors like:

/home/mawenpeng/zelcash/src/init.cpp:212: undefined reference to GenerateBitcoins(bool, int, CChainParams const&)' /home/mawenpeng/zelcash/src/init.cpp:255: undefined reference to UnregisterValidationInterface(CValidationInterface*)'
/home/mawenpeng/zelcash/src/init.cpp:276: undefined reference to UnregisterAllValidationInterfaces()' libbitcoin_server.a(libbitcoin_server_a-init.o): In function RegisterAllCoreRPCCommands':
/home/mawenpeng/zelcash/src/rpc/register.h:32: undefined reference to RegisterZelnodeRPCCommands(CRPCTable&)' libbitcoin_server.a(libbitcoin_server_a-init.o): In function AppInit2(boost::thread_group&, CScheduler&)':
/home/mawenpeng/zelcash/src/init.cpp:1421: undefined reference to RegisterValidationInterface(CValidationInterface*)' /home/mawenpeng/zelcash/src/init.cpp:1725: undefined reference to CChain::GetLocator(CBlockIndex const*) const'
/home/mawenpeng/zelcash/src/init.cpp:1731: undefined reference to RegisterValidationInterface(CValidationInterface*)' /home/mawenpeng/zelcash/src/init.cpp:1755: undefined reference to CChain::GetLocator(CBlockIndex const*) cons
......
/home/mawenpeng/zelcash/src/wallet/rpcwallet.cpp:687: undefined reference to IsMine(CKeyStore const&, boost::variant<CNoDestination, CKeyID, CScriptID> const&)' libbitcoin_wallet.a(libbitcoin_wallet_a-rpcwallet.o): In function listaccounts(UniValue const&, bool)':
/home/mawenpeng/zelcash/src/wallet/rpcwallet.cpp:1581: undefined reference to IsMine(CKeyStore const&, boost::variant<CNoDestination, CKeyID, CScriptID> const&)' libbitcoin_wallet.a(libbitcoin_wallet_a-rpcwallet.o): In function ListTransactions(CWalletTx const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, bool, UniValue&, unsigned char const&)':
/home/mawenpeng/zelcash/src/wallet/rpcwallet.cpp:1348: undefined reference to `IsMine(CKeyStore const&, boost::variant<CNoDestination, CKeyID, CScriptID> const&)'
......

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.