Git Product home page Git Product logo

gridcoin-community / gridcoin-research Goto Github PK

View Code? Open in Web Editor NEW
584.0 584.0 173.0 309.02 MB

Gridcoin-Research

License: MIT License

C 22.67% HTML 60.74% Python 0.11% Shell 0.91% C++ 8.12% Makefile 0.19% Objective-C 0.01% Objective-C++ 0.01% Assembly 0.12% M4 0.25% Perl 0.59% CMake 0.12% Dockerfile 0.01% Sage 0.04% Roff 0.22% Tcl 3.49% CSS 0.07% ASP.NET 0.02% JavaScript 0.08% C# 2.24%

gridcoin-research's People

Contributors

a123b avatar acey1 avatar barton2526 avatar cybertailor avatar cyrossignol avatar denravonska avatar div72 avatar erkan-yilmaz avatar fanquake avatar git-jiro avatar gridcoin avatar ifoggz avatar jamescowens avatar laanwj avatar lederstrumpf avatar letol avatar michalkania avatar minafarhan avatar nathanielcwm avatar opsinphark avatar peppernrino avatar personthingman2 avatar pythonix avatar roboticmind avatar scribblemaniac avatar sitiom avatar skcin avatar thecharlatan avatar themarix avatar tomasbrod 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  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  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

gridcoin-research's Issues

Project Whitelist should be fixed/updated

Some project dead/deprecated (Beal)
Some project wrong description (Quake-Catching Network)
Some projects not ready yet (gridcoin finance, gridcoin supernode)

Here is a proposal:

boinc_projects[0] = "http://boinc.bakerlab.org/rosetta/ |rosetta@home";
boinc_projects[1] = "http://docking.cis.udel.edu/ |Docking";
boinc_projects[2] = "http://www.malariacontrol.net/ |malariacontrol.net";
boinc_projects[3] = "http://www.worldcommunitygrid.org/ |World Community Grid";
boinc_projects[4] = "http://asteroidsathome.net/boinc/ |Asteroids@home";
boinc_projects[5] = "http://climateprediction.net/ |climateprediction.net";
boinc_projects[6] = "http://pogs.theskynet.org/pogs/ |theskynet pogs";
boinc_projects[7] = "http://setiathome.berkeley.edu/ |SETI@home";
boinc_projects[8] = "http://boinc.gorlaeus.net/ |Leiden Classical";
boinc_projects[9] = "http://home.edges-grid.eu/home/ |EDGeS@Home";
boinc_projects[10] = "http://milkyway.cs.rpi.edu/milkyway/|Milkyway@Home";
boinc_projects[11] = "http://casathome.ihep.ac.cn/ |CAS@home";
boinc_projects[12] = "http://aerospaceresearch.net/constellation/|Constellation";
boinc_projects[13] = "http://www.cosmologyathome.org/ |Cosmology@Home";
boinc_projects[14] = "http://boinc.freerainbowtables.com/ |DistrRTgen";
boinc_projects[15] = "http://einstein.phys.uwm.edu/ |Einstein@Home";
boinc_projects[16] = "http://www.enigmaathome.net/ |Enigma@Home";
boinc_projects[17] = "http://registro.ibercivis.es/ |ibercivis";
boinc_projects[18] = "http://lhcathomeclassic.cern.ch/sixtrack/|LHC@home 1.0";
boinc_projects[19] = "http://lhcathome2.cern.ch/test4theory|Test4Theory@Home";
boinc_projects[20] = "http://escatter11.fullerton.edu/nfs/|NFS@Home";
boinc_projects[21] = "http://numberfields.asu.edu/NumberFields/|NumberFields@home";
boinc_projects[22] = "http://oproject.info/ |OProject@Home";
boinc_projects[23] = "http://boinc.fzk.de/poem/ |Poem@Home";
boinc_projects[24] = "http://www.primegrid.com/ |PrimeGrid";
boinc_projects[25] = "http://sat.isa.ru/pdsat/ |SAT@home";
boinc_projects[26] = "http://boincsimap.org/boincsimap/ |simap";
boinc_projects[27] = "http://boinc.thesonntags.com/collatz/|Collatz Conjecture";
boinc_projects[28] = "http://mmgboinc.unimi.it/ |SimOne@home";
boinc_projects[29] = "http://volunteer.cs.und.edu/subset_sum/|SubsetSum@Home";
boinc_projects[30] = "http://boinc.vgtu.lt/vtuathome/ |VGTU project@Home";
boinc_projects[31] = "http://www.rechenkraft.net/yoyo/ |yoyo@home";
boinc_projects[32] = "http://eon.ices.utexas.edu/eon2/ |eon2";
////////////////////ADDING CustomMiners:
boinc_projects[33] ="http://albert.phys.uwm.edu/ |Albert@home";
boinc_projects[34]="http://boinc.almeregrid.nl/ |AlmereGrid Boinc Grid";
boinc_projects[35]="http://convector.fsv.cvut.cz/ |convector";
boinc_projects[36]="http://www.distributeddatamining.org/ |Distributed Data Mining";
boinc_projects[37]="http://gerasim.boinc.ru/ |Gerasim@Home";
boinc_projects[38]="http://www.gpugrid.net/ |GPUGRID";
boinc_projects[39]="http://moowrap.net/ |Moo! Wrapper";
boinc_projects[40]="http://boinc.med.usherbrooke.ca/nrg/ |Najmanovich Research";
boinc_projects[41]="http://boinc.riojascience.com/ |Rioja Science";
boinc_projects[42]="http://szdg.lpds.sztaki.hu/szdg/ |SZTAKI Desktop Grid";
boinc_projects[43]="http://dg.imp.kiev.ua/slinca/ |SLinCA";
boinc_projects[44]="http://wuprop.boinc-af.org/ |WUProp@Home";
boinc_projects[45]="http://boinc.almeregrid.nl/ |almeregrid boinc grid";
boinc_projects[46]="http://burp.renderfarming.net/ |BURP";
boinc_projects[47]="http://boinc.umiacs.umd.edu/ |The Lattice Project";
boinc_projects[48]="http://www.volpex.net/ |volpex";
boinc_projects[49]="http://www.distrrtgen.com/ |Distributed Rainbow Table Generator";
boinc_projects[50]="http://slinca.com/ |slinca@home";
boinc_projects[51]="http://mindmodeling.org/ |MindModeling@Home";
boinc_projects[52]="http://www.gridcoin.us/ |INVESTOR"; //This is a general project Used for Inflation Only Subsidies
boinc_projects[53]="http://qcn.stanford.edu/sensor/ |Quake-Catcher Network";

// boinc_projects[54]="http://finance.gridcoin.us/ |Gridcoin Finance";
// boinc_projects[55]="http://supernode.gridcoin.us/ |Gridcoin Supernode";

Error Message on Start

Every time I attempt to start the client I receive an error message about 'src/kernel.cp'. I have tried disabling antivirus software and 'upgraded' the software. I have tried repairing and uninstalling and reinstalling the client and nothing seems to work.
screenshot 125
Hitting any option-abort, retry, or ignore-results in no change in result.

vote costs more than what the UI tells

I voted in a poll today, but it cost me more (1) than what the QT wallet tells in the upper right corner (2).
OK: The beacon back then cost as much as the UI tells.

Was there a change in the fee structure?

using gridcoin 3.5.6.7

(1) 0.00021 GRC
(2) "Beacons and Votes cost .00011"

More Information for commands at help

Is it possible to integrate a help for the commands?
Like
gridcoinresearchd help ->
blabla commands
Exmaple:
gridcoinresearchd unlook "will unlook your Wallet to stake"
gridcoinsresearchd getinfo "will show alot of Infos"
etc

'openssl/sha.h' file not found

I've verified that I have OpenSSL installed:

SilentMac:lib almo$ brew install openssl
Warning: openssl-1.0.2 already installed

But it can't find this header.

"Magnitude+Balance" Voting weight balance

Original thread: https://cryptocointalk.com/topic/40773-discussion-magnitudebalance-voting-type-magnitude-weight-unbalanced/

Currently, the voting weight category used most often for polls is the 'mag+balance' voting type.

The current balance between TotalMag (mag) & TotalCoinSupply (balance) is equal (i.e. TotalMag=TotalCoinSupply).

Top noteworthy magnitude voting weights:

  • According to Gridresearchcorp, the top 10 users currently have a combined magnitude of 33669 out of a total 115000 mag. (33669/115000)*376,287,674 = 110,167,214.75 GRC
  • The pool has a current voting weight of (10,496/115000)*376,287,674 = 34,343,612.40 GRC
  • The top 3 individuals (after the pool) have a weight of (14222/115000)*376,287,674 = 46,535,333.04 GRC.

Issues this raises:

  • With voting participation in foundation expenses being low (especially for advertisements), those with high magnitude could potentially push through self-benefiting expenses.
  • With the current generation (3rd gen) BOINC credit system being open to manipulation, an attacker could potentailly fraudulently achieve a high mag in order to receive a massive voting weight (To disrupt, or defraud the voting mechanism). We can kick cheaters, but detecting fraudulent activity will prove difficult & time consuming.
  • A non-fraudulent (legit research/crunching) attacker only needs to crunch for a month in order to achieve full voting weight potential.
  • Pools in the future may pose an increasingly greater centralization risk. Whilst Katiee's pool is trusted and the only pool at the moment, more pools will be created in the future & they may vote with users combined magnitude (with or without consent). Individual CPIDs are capped to 20k, but a pool could simply create a second CPID for their users to crunch under.
  • A pool is a significantly cheaper method of achieving a high mag than crunching projects with a server farm. If you offered 0% fees in return for granting full consent to vote on users behalf you'd have a lot of users taking up such an offer.
  • Conflicting values are being assigned to magnitude. In the release schedule, 1,344,000 to 1,488,000 GRC are issued on a monthly basis, yet a months proven computation (RAC) is being allocated the equivalent of 252.88 to 280 months worth of voting weight? (total supply/months issuance).
  • Assigning an equal weight to magnitude as balance undermines the value & security of balance; users are less likely to hold onto minted coins when they know that a high mag can maintain their projects whitelist status.

Past proposals by users:

  • Factor time users have been crunching (blocks since advertised beacon) into the magnitude voting weight, as a form of trust/verification?
  • Rebalance magnitude to be equal to one months maximum issued GRC (since RAC is only a 30 day calculation).
  • Ban Pool CPIDs from voting (IMO not appropriate/enforceable & a slippery slope - some pools may implement voting within their website to reflect their users opinion).

Thoughts? Past discussion hit a wall, we couldn't figure out any other solutions.

ExportToCSV2 (GetMagnitudeContractDetails) sets dNeuralMagnitude to 0 for all CPIDs in daily CSV exports

ExportToCSV2 location:
https://github.com/gridcoin/Gridcoin-Research/blob/d2e1e15b3ec6e6094d9908343467c11f9a506742/contrib/Installer/boinc/boinc/modPersistedDataSystem.vb#L1559

GetMagnitudeContractDetails location:
https://github.com/gridcoin/Gridcoin-Research/blob/d2e1e15b3ec6e6094d9908343467c11f9a506742/contrib/Installer/boinc/boinc/modPersistedDataSystem.vb#L91

dNeuralMagnitude set to 0 for all CPIDs:
https://github.com/gridcoin/Gridcoin-Research/blob/d2e1e15b3ec6e6094d9908343467c11f9a506742/contrib/Installer/boinc/boinc/modPersistedDataSystem.vb#L99

Expected result: Each CPID's total neural network magnitude value present in the daily CSV export.
Actual result: Neural network magnitude for each CPID in daily .CSV export is set to 0.
Impact: Only affects users exporting daily CSV file for BOINC/Gridcoin stat sites. (Low)
Workaround: You can work out neural network mag directly from extracted boinc project xml files.

Forum post initially about this: https://cryptocointalk.com/topic/1331-new-coin-launch-announcement-grc-gridcoin/?view=findpost&p=208952

[3.5.6.8] Syncing From Zero - Silent Crash

Environment: Win7 Prof. GRC 3.5.6.8
There has been a silent crash around block 47657.
debug log:

[snip]

07/11/16 15:26:44 ComputeNextStakeModifier: prev modifier=0x9fb7803c0ae7a6b1 time=2014-11-16 18:20:26 UTC
07/11/16 15:26:44 Stake Reward of 450.028091 , DPOR PAID 0.000000    .TMS.SetBestChain: new best=c01ce0f5bf9977808649  height=47657  trust=2673781756755287664227684  blocktrust=840557054311  date=11/16/14 18:21:52
07/11/16 15:26:44 {PB}: ACC; 

07/11/16 15:26:44  {SVC} (37 bytes)
07/11/16 15:26:46 (33 bytes)
07/11/16 15:26:46  Nonce 1468250807,comm encrypt,hash 3628a39a80134f0ce6258a301f547e5b,pw1 3628a39a80134f0ce6258a301f547e5b 

07/11/16 15:26:46 Acid 1468250807,encrypt,3628a39a80134f0ce6258a301f547e5b,windows,windows-yG3uv41o-็ฉฎ
3,0cfe6f4b6ee9e7dc0bd77e244450eb172c89c39c7d81a0af32dcd152a103c1f6,HBhCHeKWyJ71BJR77Vc/Kae+frt9ZctuIrDjViqPLccKBOVBM+2G+Vwow1pOg/EmubmUQDg9Qbtfczn7cYYlncCZqN0uXEq/dZ3tZdX04LZhN20iUL8ifS7o/ATJ7gn+a1hc/nO9d8qaRaWu5i2NrA==, Validity Yes Received block a0a7e6cf1c7146245762206a2b561fd8f2b6b675a401b134de3cba632ba42954 ; 

07/11/16 15:26:46 CBlock(hash=a0a7e6cf1c7146245762206a2b561fd8f2b6b675a401b134de3cba632ba42954, ver=7, hashPrevBlock=351d64f2af5781f88242f56467ad2164d74e8e51e5a3794f9ad78876b1aad2a4, hashMerkleRoot=7b687064fc7fbb5665a6612d03c057da85cfe3e179c688b799fd7e2c43b047e1, nTime=1468250800, nBits=1c0fabee, nNonce=20631, vtx=2, vchBlockSig=304402207650f606a8d0df4263ce5a286ec7ddcddbc5e83254c12467da03d8363c54174a022049dce67905f4565796950623c31851f8894c739b37cd245f86e7ee3ce7d3721c)
07/11/16 15:26:46   Coinbase(hash=febf14ab2d, nTime=1468250800, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 03263709)
    CTxOut(empty)
  Coinstake(hash=3e5b8fb4df, nTime=1468250800, ver=1, vin.size=1, vout.size=3, nLockTime=0)
    CTxIn(COutPoint(334d4f56b1, 48), scriptSig=304402203604d97b0c99d0a1)
    CTxOut(empty)
    CTxOut(nValue=85.60470124, scriptPubKey=0216e49bd10a38b404551e637ae491213f12ecb3dc7f4de3863caf8726dd43feaa OP_CHECKSIG)
    CTxOut(nValue=0.01, scriptPubKey=0216e49bd10a38b404551e637ae491213f12ecb3dc7f4de3863caf8726dd43feaa OP_CHECKSIG)
  vMerkleTree: 
07/11/16 15:26:46 

 * Sync Chain * 

07/11/16 15:26:46 Disconnecting 33.000000 blocks off of main chain
07/11/16 15:26:46  ;Removing blk 47656.000000;  ;Removing blk 47655.000000;  ;Removing blk 47654.000000;  ;Removing blk 47653.000000;  ;Removing blk 47652.000000;  ;Removing blk 47651.000000;  ;Removing blk 47650.000000;  ;Removing blk 47649.000000;  ;Removing blk 47648.000000;  ;Removing blk 47647.000000;  ;Removing blk 47646.000000;  ;Removing blk 47645.000000;  ;Removing blk 47644.000000;  ;Removing blk 47643.000000;  ;Removing blk 47642.000000;  ;Removing blk 47641.000000;  ;Removing blk 47640.000000;  ;Removing blk 47639.000000;  ;Removing blk 47638.000000;  ;Removing blk 47637.000000;  ;Removing blk 47636.000000;  ;Removing blk 47635.000000;  ;Removing blk 47634.000000;  ;Removing blk 47633.000000;  ;Removing blk 47632.000000;  ;Removing blk 47631.000000;  ;Removing blk 47630.000000;  ;Removing blk 47629.000000;  ;Removing blk 47628.000000;  ;Removing blk 47627.000000;  ;Removing blk 47626.000000;  ;Removing blk 47625.000000;  ;Removing blk 47624.000000; Postponing 0 reconnects
07/11/16 15:26:46 Postponing 0 reconnects
07/11/16 15:26:46 Postponing 0 reconnects
07/11/16 15:26:46 Postponing 0 reconnects
07/11/16 15:26:46 Postponing 0 reconnects
07/11/16 15:26:46 REORGANIZE
07/11/16 15:26:46 REORGANIZE: Disconnect 33 blocks; b0388886c538f0c3e066..c01ce0f5bf9977808649
07/11/16 15:26:46 REORGANIZE: Connect 0 blocks; b0388886c538f0c3e066..b0388886c538f0c3e066
07/11/16 15:26:46 REORGANIZE Disc Size 33.000000REORGANIZE: done
07/11/16 15:26:46 SetBestChain: new best=b0388886c538f0c3e066  height=47624  trust=2673781756643035230171376  blocktrust=8110897550608  date=11/16/14 17:30:30
07/11/16 15:26:46 ShaveChain: done
07/11/16 15:26:46 (901 bytes)
07/11/16 15:26:46 .

[DoTallyRA_START] Gathering network avgs (begin)START BLOCK 47610.000000, END BLOCK 33610.000000 Max block 47610.000000(901 bytes)
07/11/16 15:26:46 .(901 bytes)
07/11/16 15:26:46 .(901 bytes)
07/11/16 15:26:46 .(901 bytes)
07/11/16 15:26:46 .(901 bytes)
07/11/16 15:26:46 .(901 bytes)
07/11/16 15:26:46 .(901 bytes)
07/11/16 15:26:46 .Tallying Research Averages (begin) START BLOCK 47610.000000, END BLOCK 33610.000000 Max block 47610.000000Min block 33610.000000, Rows 14000.000000 

07/11/16 15:26:53  TMIS1 

Individual reported an abnormal payment

Segmentation fault upon launching gridcoinresearch

This is happening on Linux Mint 17 (Ubuntu 14.04). boinc-client is running normally.

This run was with freshly fetched and compiled code, but it started happening today with an earlier version of the code.

$ gridcoinresearch -debug -debugnet -printtoconsole
QObject::connect: Cannot connect (null)::triggered() to QApplication::aboutQt()
QWidget::insertAction: Attempt to insert null action
QGradient::setColorAt: Color position must be specified in the range 0 to 1

***************************************** GRIDCOIN RESEARCH ***************************************************
Gridcoin version v3.4.0.6-g-research (2015-04-26 21:18:44 -0500)
Using OpenSSL version OpenSSL 1.0.1f 6 Jan 2014
Default data directory /home/username/.GridcoinResearch
Used data directory /home/username/.GridcoinResearch
dbenv.open LogDir=/home/username/.GridcoinResearch/database ErrorFile=/home/username/.GridcoinResearch/db.log
Loading block index...
Opening LevelDB in /home/username/.GridcoinResearch/txleveldb
Transaction index version is 180015
Opened LevelDB successfully
Time to memorize diskindex           52484ms
Time to calculate Chain Trust             943ms
LoadBlockIndex(): hashBestChain=c7d9c6f91b4b1d96817b  height=257798  trust=3275838333972824660711873320762369734724920483558585417587697937297543664119  date=06/23/2015 13:04:48
LoadBlockIndex(): synchronized checkpoint 000005a247b397eadfefa58e872bc967c2614797bdc8d4d0e6b09fea5c191599
Verifying last 1000 blocks at level 1
Time to Verify Blocks             116ms
 block index           53740ms
Loading wallet...
nFileVersion = 3040006
Keys: 0 plaintext, 206 encrypted, 206 w/ metadata, 206 total
 wallet                   32ms
Rescanning last 13 blocks (from block 257785)...
 rescan                    1ms
Loaded 3332 addresses from peers.dat  20ms
Loading boinc projects 
Segmentation fault

[Windows 10] Wallet crash on sync

Screenshot:


debug.log:


07/22/16 01:46:41 ***************************************** GRIDCOIN RESEARCH ***************************************************

07/22/16 01:46:41 Gridcoin version v3.5.7.0-g-research (12/1/2014)
07/22/16 01:46:41 Using OpenSSL version OpenSSL 1.0.1p 9 Jul 2015
07/22/16 01:46:41 Default data directory C:\Users\Casey\AppData\Roaming\GridcoinResearch
07/22/16 01:46:41 Used data directory C:\Users\Casey\AppData\Roaming\GridcoinResearch
07/22/16 01:46:41 dbenv.open LogDir=C:\Users\Casey\AppData\Roaming\GridcoinResearch\database ErrorFile=C:\Users\Casey\AppData\Roaming\GridcoinResearch\db.log
07/22/16 01:46:41 Loading block index...
07/22/16 01:46:41 Mode=Prod

07/22/16 01:46:41 Opening LevelDB in C:\Users\Casey\AppData\Roaming\GridcoinResearch\txleveldb
07/22/16 01:46:41 Transaction index version is 180015
07/22/16 01:46:41 Opened LevelDB successfully
07/22/16 01:47:46 Time to memorize diskindex containing 598608.000000 blocks :           64904ms

No license?

Just noticed, there's no MIT license in the Gridcoin repo. Could we generate an MIT license & properly acknowledge bitcoin/peercoin/blackcoin?

Cheers

Installer msi not updated

It is good to see to have frequent updates, but I really miss the up-to-date installer, because the official site offers HTTP only download option.

Installer should be included in the further releases, so we can download it from github over HTTPS. The official DL link also could have HTTPS enabled.

Thank you! :)

Gridcoin rpc for a row transaction not returning the hex value of a ScriptPuKey

Source of issue: https://www.reddit.com/r/gridcoin/comments/4gu6ao/gridcoin_rpc_for_a_row_transaction_not_returning/

Hello community,
I am on the coinvault.io web wallet team.
I noticed the Gridcoin client rpc method GetRawTransaction is not retuning the HEX value of the script public key only the ASM.
We've worked around it for now but Is there a reason for that, will the devs be able to change that in the next release?

Location of issue: https://github.com/gridcoin/Gridcoin-Research/blob/master/src/rpcrawtransaction.cpp#L282

Indicator of remaining blocks

Hi,

Is it possible to reflect the remaining blocks on Main wallet window like this done for MiracleCoin wallet (bottom side)?

ef05d58ebf1e72e9c209b33d956ef806

Best Regards,
Vlad

Ubuntu 14.04 - compilation error

Followed all steps on guide and followed all the steps, skipped compiling Boost 1.55 and followed the about instruction
sudo apt-get install libboost1.55-all-dev then followed following steps with no errors. But when I try to make -
ryan@755:~/Gridcoin-Research/src$ make -f makefile.unix USE_UPNP=- /bin/sh ../share/genbuild.sh obj/build.h g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/ryan/Gridcoin-Research/src -I/home/ryan/Gridcoin-Research/src/obj -I/home/ryan/Gridcoin-Research/src/leveldb/include -I/home/ryan/Gridcoin-Research/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/db.d -o obj/db.o db.cpp In file included from db.cpp:6:0: db.h:14:20: fatal error: db_cxx.h: No such file or directory #include <db_cxx.h> ^ compilation terminated. make: *** [obj/db.o] Error 1

Looked for answers everywhere, now I'm here

More explanations in client

It is good that you put documentation in FAQs and Blogs on the web. Another great place is the client interface itself! Just on the overview page, lots of questions come up.. what are "Beacons and Votes"? What does "PoR Difficulty", "DPOR Weight", "Magnitude" mean? Is my gridcoin wallet connected to tha BOINC and is my scientific data-crunching generating GRCs right now, or not?
Also, the existing tooltips are interesting, but kind of "hidden gems" - no visual indication of them whatsoever. Putting a little โ„น๏ธ icon next to each term worthy of further explanation would be a good visual clue that there is some help for grokking gridcoin available ๐Ÿ”ญ ๐Ÿ˜€

Gridcoin client crashes on start (version 3.5.7.3b)

Xubuntu 16.04 launching Gridcoin client (syncing from 0) and the client crashes once the GUI appears.

The error prompt states: 'gridcoinresearch crashed with SIGSERV'

StackTrace: https://i.imgur.com/QyjhnuZ.png
StackTraceAddressSignature: https://i.imgur.com/3vI8BEo.png

Debug logs with debug/debug2/debug3 enabled:

Using fontsize 10
Starting Gridcoin
Initializing GUI...
Boost Version: Using Boost 1.58.0
Using specific arg defaultEntering debug mode.
Entering GRC debug mode.
Entering GRC debug mode.
13/08/16 14:36:10 

13/08/16 14:36:10 ***************************************** GRIDCOIN RESEARCH ***************************************************
13/08/16 14:36:10 Gridcoin version v3.5.7.3-g-research ()
13/08/16 14:36:10 Using OpenSSL version OpenSSL 1.0.2g-fips  1 Mar 2016
13/08/16 14:36:10 Default data directory /home/cm/.GridcoinResearch
13/08/16 14:36:10 Used data directory /home/cm/.GridcoinResearch
13/08/16 14:36:10 dbenv.open LogDir=/home/cm/.GridcoinResearch/database ErrorFile=/home/cm/.GridcoinResearch/db.log
13/08/16 14:36:10 Loading block index...
13/08/16 14:36:10 Mode=Prod
13/08/16 14:36:10 Opening LevelDB in /home/cm/.GridcoinResearch/txleveldb
13/08/16 14:36:10 Opened LevelDB successfully
13/08/16 14:36:10 Time to memorize diskindex containing 0.000000 blocks :               0ms
13/08/16 14:36:10 Time to calculate Chain Trust               0ms
13/08/16 14:36:10 starting Genesis Check...CBlock(hash=000005a247b397eadfefa58e872bc967c2614797bdc8d4d0e6b09fea5c191599, ver=1, hashPrevBlock=0000000000000000000000000000000000000000000000000000000000000000, hashMerkleRoot=5109d5782a26e6a5a5eb76c7867f3e8ddae2bff026632c36afec5dc32ed8ce9f, nTime=1413033777, nBits=1e0fffff, nNonce=130208, vtx=1, vchBlockSig=)
13/08/16 14:36:10   Coinbase(hash=5109d5782a, nTime=1413033777, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 00012a4531302f31312f313420416e6472656120526f73736920496e647573747269616c20486561742076696e646963617465642077697468204c454e522076616c69646174696f6e)
    CTxOut(empty)
  vMerkleTree: 5109d5782a 
13/08/16 14:36:10 {SBC} SetBestChain: new best=000005a247b397eadfef  height=0  trust=1048577  blocktrust=1048577  date=11/10/14 13:22:57
13/08/16 14:36:10 ResetSyncCheckpoint: pending for sync-checkpoint 801981d8a8f5809e34a2881ea97600259e1d9d778fa21752a5f6cff4defcd08d
13/08/16 14:36:10 ResetSyncCheckpoint: sync-checkpoint reset to 000005a247b397eadfefa58e872bc967c2614797bdc8d4d0e6b09fea5c191599
13/08/16 14:36:10  block index              41ms
13/08/16 14:36:10 Loading wallet...
13/08/16 14:36:10 nFileVersion = 3050703
13/08/16 14:36:10 Keys: 0 plaintext, 214 encrypted, 214 w/ metadata, 214 total
13/08/16 14:36:10  wallet                   15ms
13/08/16 14:36:10 ERROR: CAddrman::Read() : open failed
13/08/16 14:36:10 Invalid or missing peers.dat; recreating
13/08/16 14:36:10 Loaded 0 addresses from peers.dat  0ms
13/08/16 14:36:10 Loading admin Messages 0.000000Done loading Admin messages0.000000Done loading boinc projects 0.000000Loading network averages 0.000000Starting CPID thread...0.000000mapBlockIndex.size() = 1
13/08/16 14:36:25 nBestHeight = 0
13/08/16 14:36:25 setKeyPool.size() = 100
13/08/16 14:36:25 mapWallet.size() = 11
13/08/16 14:36:25 mapAddressBook.size() = 11
13/08/16 14:36:25 
Using 8.000000 OutboundConnections with a MaxConnections of 125.000000
13/08/16 14:36:25 Done loading
13/08/16 14:36:25 
Starting dedicated Tally thread...
13/08/16 14:36:25 
Starting dedicated Gridcoin Services thread...
13/08/16 14:36:25 FetchInputs() : 71dfca68af mempool Tx prev not found 7ad5fdc7d1ThreadIRCSeed exited
13/08/16 14:36:25 the file does not exist /var/lib/boinc-client/client_state.xmlUnable to obtain Boinc CPIDs 
13/08/16 14:36:25 Boinc data directory is not in the operating system's default location 
Please move it there or specify its current location in gridcoinresearch.conf 
13/08/16 14:36:25 FetchInputs() : 46038bb303 mempool Tx prev not found 71dfca68afFetchInputs() : b584927449 mempool Tx prev not found 46038bb303FetchInputs() : 621e49f38f mempool Tx prev not found b584927449FetchInputs() : 621e49f38f mempool Tx prev not found b584927449FetchInputs() : 62a98b2116 mempool Tx prev not found 621e49f38fFetchInputs() : 71dfca68af mempool Tx prev not found 7ad5fdc7d1FetchInputs() : 9db2f4fa40 mempool Tx prev not found b6369cdfe3FetchInputs() : 8c413df4e6 mempool Tx prev not found 9db2f4fa40FetchInputs() : 8c841e29d7 mempool Tx prev not found a0db66f403FetchInputs() : b6369cdfe3 mempool Tx prev not found 689c745111FetchInputs() : 9db2f4fa40 mempool Tx prev not found b6369cdfe3Performing 1st credit check ()Getting first projectFetchInputs() : 46038bb303 mempool Tx prev not found 71dfca68afFetchInputs() : b584927449 mempool Tx prev not found 46038bb303FetchInputs() : b6369cdfe3 mempool Tx prev not found 689c745111FetchInputs() : 9db2f4fa40 mempool Tx prev not found b6369cdfe3FetchInputs() : d02582093b mempool Tx prev not found 9db2f4fa40FetchInputs() : 8c413df4e6 mempool Tx prev not found 9db2f4fa40FetchInputs() : ebb9e3daba mempool Tx prev not found 8c413df4e6
Exiting AppInit2
13/08/16 14:36:25 GUI Loaded...Added 1 addresses from 107.161.152.223: 0 tried, 1 new
13/08/16 14:36:25 Added 1 addresses from 128.199.218.149: 0 tried, 2 new
13/08/16 14:36:25 
[DoTallyRA_START]  [DoTallyRA_END] 
13/08/16 14:36:25 Added 1 addresses from 146.185.131.13: 0 tried, 3 new
13/08/16 14:36:25 Added 1 addresses from 46.101.218.21: 0 tried, 4 new
13/08/16 14:36:25 Finished getting first projectGetMyExternalIP() returned 37.220.13.51
13/08/16 14:36:26 7..refreshWallet
13/08/16 14:36:26 ipcThread started

Windows 10 debug logs from Quez:
http://pastebin.com/wHB8XPAB

Listreceivedbyaddress RPC Command

Source of issue: https://cryptocointalk.com/topic/44611-monitoring-selfburn-addresses-for-custom-beacons/

Command: listreceivedbyaddress (https://bitcoin.org/en/developer-reference#listreceivedbyaddress)
The problem I've encountered with the above RPC command is that Gridcoin currently does not include the transaction id's in the 'listreceivedbyaddress' command output.

Bitcoin has introduced txids in the 'listreceivedbyaddress' rpc output here:
bitcoin/bitcoin#2104
bitcoin/bitcoin#307
bitcoin/bitcoin#1149

If we inherited this RPC change, then it would be possible to use one command to get all txids related to a single address - allowing for burn transaction monitoring/auditing by external 3rd parties.

Current listreceivedbyaddress command output:

gridcoinresearchd listreceivedbyaddress 1 true
[
{
"address" : "RzgwVZN9pwXe1gYZtDWfTnxdNFZkPDGfZC",
"account" : "",
"amount" : 0.00000000,
"confirmations" : 0
},
{
"address" : "S2YKdCFvTAWKLgwsFQCJDSMNPbw1a5HJB4",
"account" : "",
"amount" : 12.59200781,
"confirmations" : 3
}
]

Updated bitcoin output (example):

bitcoin-cli -testnet listreceivedbyaddress 6 false true
[
{
"address" : "mnUbTmdAFD5EAg3348Ejmonub7JcWtrMck",
"account" : "test1",
"amount" : 1.99900000,
"confirmations" : 55680,
"txids" : [
"4d71a6127796766c39270881c779b6e05183f2bf35589261e9572436356f287f",
"997115d0cf7b83ed332e6c1f2e8c44f803c95ea43490c84ce3e9ede4b2e1605f"
]
},
{
"involvesWatchonly" : true,
"address" : "n3GNqMveyvaPvUbH469vDRadqpJMPc84JA",
"account" : "someone else's address2",
"amount" : 0.00050000,
"confirmations" : 34714,
"txids" : [
"99845fd840ad2cc4d6f93fafb8b072d188821f55d9298772415175c456f3077d"
]
}
]

[Windows 10] Wallet GUI Issues

A user from IRC is having some formatting issues with the GUI on Win10. And they are unable to lock/unlock the wallet.

Clicking "Change Passphrase" under settings does nothing.
"Lock Wallet" under settings is missing completely.

gridcoin screenshot

User with issue: Tomodude (IRC Nick)

Gridcoin Wallet Crashes after trying to sync with the Neural Net

As instructed, to sync the Neural net I am executing "execute syncdpor2", and then I open the Neural Net.

It begins the sync, and than towards the end of a progress bar, it crashes displaying this:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: gridcoinresearch.exe
Problem Signature 02: 3.5.5.9
Problem Signature 03: 57b09132
Problem Signature 04: GRCSec
Problem Signature 05: 1.0.0.3
Problem Signature 06: 57939c9a
Problem Signature 07: 59
Problem Signature 08: 81
Problem Signature 09: System.IO.FileNotFoundException
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

I am using win7 installed on Virtual Box. There is some kind of a file missing. I will try playing around with the config but I doubt that it is a cause.

Increasing 'OP_Return' from 40 bytes to 80 bytes

Original bitcoin pull request:
bitcoin/bitcoin#5286

Bitcoin commits:
Flavien/bitcoin@a930658
bitcoin/bitcoin@44e9a6b (May not be applicable, can't find code).

Gridcoin code locations:
https://github.com/gridcoin/Gridcoin-Research/blob/ac32e1c97770d98d2b37f5ee2fbbd3c017162a52/src/script.h#L25

Attempting to use OP_Return for custom beacons & OP_Return was previously decreased to 40 bytes by the bitcoin team due to blockchain bloat fears, but this limits the effectiveness of 3rd party meta-layer projects (counter party/omni/coinprism/etc).

Neural Network shows 0 whitelisted projects and 0 mag for all cpids.

Tried deleting contents of NeuralNetwork folder and resyncing. No luck.

Execute syncdpor2 returns a syncing message but the NN doesn't update.

debug2.log shows that there was an error accessing a number of files (all in the neural network folder)

Here's the relevant part:

May 31 2016 15:27, Testnet : False
May 31 2016 15:27, Testnet : False
May 31 2016 15:27, Finished syncing DPOR cpids.
May 31 2016 15:27, EnsureTeamIsSynchronized: 493038
May 31 2016 15:27, Deleting Projects
May 31 2016 15:27, EraseNeuralNetwork:No files found matching 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_.dat'.
May 31 2016 15:27, EraseNeuralNetwork:No files found matching 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\projects_.dat'.
May 31 2016 15:27, EraseNeuralNetwork:No files found matching 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\whitelist_.dat'.
May 31 2016 15:27, Updating magnitude in testnet=False for 1992 cpids.
May 31 2016 15:27, EraseNeuralNetwork:No files found matching 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\cpid_.dat'.
May 31 2016 15:27, UFA Timestamp: 1000000
May 31 2016 15:27, GUFA Timestamp: 1464283407.04738
May 31 2016 15:27, Starting Phase II
May 31 2016 15:27, Complete Sync: Updating mags
May 31 2016 15:27, Updating Magnitudes Without consensus data
May 31 2016 15:27, 1992 CPIDs starting out with clean slate.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #1 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:27, Attempt #0 While storing data row Projects,Project, PK: NeuralNetwork : The process cannot access the file 'C:\Users[REDACTED]\AppData\Roaming\gridcoinresearch\NeuralNetwork\project_projects_NeuralNetwork.dat' because it is being used by another process., Retrying.
May 31 2016 15:28, Testnet : False
May 31 2016 15:28, 4930809391e0812100407fbafe51ddd3b0b91356037905-25-2016 16:57:52f83970a0f3c0cf27a70c4d11eb4fb91c
May 31 2016 15:28, 0 CPIDs remaining with no witnesses. Cleaning up problem.
May 31 2016 15:28, UpdNetworkAvgs Start Time
May 31 2016 15:28, UpdNetworkAvgs End Time
May 31 2016 15:28, Unable to get quote data probably due to SSL being blocked: Conversion from string "559buysupport5772.20964827" to type 'Double' is not valid.
May 31 2016 15:28, Unable to get quote data probably due to SSL being blocked: Conversion from string "0.00001025buysupport8.46097691" to type 'Double' is not valid.

Tag version on github

Is it possible to tag the relevant git commits when a new version releases?
This would greatly improve Arch linux builds, as I would be able to indicate exactly the version I want when building.

runaway condition on 3.3.9.7-1.2

It throws this error:
EXCEPTION: N5boost10filesystem16filesystem_errorE
boost::filesystem::space: No such file or directory
gridcoin in Runaway exception

Feel free to ask for more info.

Gridcoin Wallet Diagnostics - Fail

I run the single Gridcoin Wallet ( Version 3.5.7.2-g-research ) I use, in Windows Server 2008 R2 alongside BOINC Manager, which manages my solo and pool projects on this machine.
I also run BOINC Manager for solo and pool projects on several other machines which run Windows XP, Windows 7 and Windows 10.

When I run the Gridcoin Diagnostics System from the wallet this happens:
In diagnostics 2nd down - Find CPID has a strange CPID in it - 8b49434ecadb6acfc955e3991853890b.
This is not my CPID.
3rd down - Verify CPID is valid says - CPID not part of team gridcoin. Total RAC for teamgricoin below 100. No projects on team gridcoin.

See: http://imgur.com/a/b558L

I am a member of Team Gridcoin for both pool and solo projects.

The wallet, from my limited knowledge seems to be running correctly, I checked my transactions and I have recieved payments from the pool. I had the fore thought to name the address gridcoin Pool. I have also recieved PoR payments.
However if it will not pass diagnostics it seems possible that there is a problem.

Thanks, I hope this highlights the issue.

Checks for null data transaction (OP_Return) before issuing error to debug.log

Description:
CWalletTx::GetAmounts could not find output address for null data transactions, thus issuing an error in debug.log. This change checks to see if the transaction is OP_RETURN before issuing error.
Fixes bitcoin issue 6142.

Source: bitcoin/bitcoin#7200
Commit 1: accraze/bitcoin@b6915b8
Commit 2: accraze/bitcoin@c611acc
Commit 3: accraze/bitcoin@d812daf

Gridcoin code locations: (Unsure which of the two locations should have this change, very similar code chunks)
https://github.com/gridcoin/Gridcoin-Research/blob/master/src/wallet.cpp#L910
https://github.com/gridcoin/Gridcoin-Research/blob/master/src/wallet.cpp#L831

TL;DR:
The following code snippet:
if (!ExtractDestination(txout.scriptPubKey, address))
Changes to:
if (!ExtractDestination(txout.scriptPubKey, address) && !txout.scriptPubKey.IsUnspendable())
Justification:
OP_Return transactions are null data transactions & currently (potentially) create an error in the debug.log file. Fixing this will compliment OP_Return functionality within the Gridcoin client.

Low network (balance) stake weight participation solution?

Lately we've been discussing stake weights and came to the conclusion in IRC that only approx 60-100mil GRC are staking at any one time out of the current total supply of 379,376,868 which works out to be 15.82 to 26.36 percent of total coin supply staking.

We could reach out to old users who may no longer be staking via the email marketing idea, but another idea that has been raised by the community is to potentially upgrade to the POSv3 system created by the Blackcoin developers.

The difference between POSv2 and POSv3 is that POSv3 attempts to increase staking participation by making POS rewards fixed instead of based on your staking balance (or coin age?), thus if you have a large balance you need to run it continuously in order to achieve your target yearly interest of 1.5%.

This would be a mandatory change if we attempted the change.

Related Blackcoin releases:
blacknet-ninja/blackcoin-old@v1.2.0...master
blacknet-ninja/blackcoin-old@v1.2.1...master

Watch-only/Importaddress support?

Link to thread: https://cryptocointalk.com/topic/44611-monitoring-selfburn-addresses-for-custom-beacons/#entry210701

I'd greatly appreciate watch-only/importaddress support in gridcoin. This would greatly compliment the recent Op_Return developments.

The 'listreceivedbyaddress' command is an RPC query for addresses that you own (requires private key ownership) - so you cannot currently use listreceivedbyaddress for someone else's address nor a generated burn address.

We can however use 'listreceivedbyaddress' for an address to which we do not own the private key by implementing the 'importaddress' rpc command introduced into the Bitcoin client in version 0.10. Importaddress would allow users to import watch-only (read only permissions - you cannot spend any coins in an imported address) addresses to which listreceivedbyaddress could be executed against, allowing anyone to monitor burn addresses for burn transactions.

Sources:
https://bitcoin.org/en/developer-reference#importaddress
https://bitcoin.org/en/glossary/watch-only-address
bitcoin/bitcoin#4045

All 0.10 watch-only/importaddress commits:

RPC: Added argument to getbalance to include watchonly addresses and fixed errors in balance calculation bitcoin/bitcoin@d4640d7
RPC: Added argument to listaccounts to include watchonly addresses bitcoin/bitcoin@83f3543
RPC: Showing โ€˜involvesWatchonlyโ€™ property for transactions returned by โ€˜listtransactionsโ€™ and โ€˜listsinceblockโ€™. It is only appended when the transaction involves a watchonly address bitcoin/bitcoin@952877e
RPC : Added argument to listtransactions and listsinceblock to include watchonly addresses bitcoin/bitcoin@d7d5d23
RPC: added includeWatchonly argument to โ€˜gettransactionโ€™ because it affects balance calculation bitcoin/bitcoin@f87ba3d
RPC: added includedWatchonly argument to listreceivedbyaddress/โ€ฆaccount bitcoin/bitcoin@0fa2f88
Wallet: Add support for watch-only addresses bitcoin/bitcoin@b33d1f5
Wallet: Use script matching rather than destination matching for watch-only bitcoin/bitcoin@4b7b1bb
Wallet: Watch-only fixes bitcoin/bitcoin@f606bb9
GUI: Add column Watch-only to transactions list bitcoin/bitcoin@8bfdc9a

No fullnode inbound connections?

Recently my nodes all fell down to like 30 peers each, approx 1/10th the equivalent of a month ago, so I had a look through my firewall configs (all nodes have their 9332 port exposed to the network, so should be full nodes).

A very interesting thing to note is that all peers showing via the 'getpeerinfo' command show:
"inbound": false,

Not a single full node has "inbound": true, despite the 9332 port being open/accessible to inbound connections. Could this be causing users issues with connectivity?

Up to date 'getpeerinfo' dumps for my full nodes: (no inbound, only outbound)
https://grcnode.co.uk/Stats/Servers/GER/GER-Peers.json
https://grcnode.co.uk/Stats/Servers/NYC/NYC-Peers.json
https://grcnode.co.uk/Stats/Servers/SF/SF-Peers.json
https://grcnode.co.uk/Stats/Servers/AMS/AMS-Peers.json

How I've configured my nodes:
https://github.com/grctest/GridcoinAutoNode/blob/master/GridcoinAutoNode.sh

Daniel Blanco does have 'inbound:true' getpeerinfo entries:
https://cryptocointalk.com/topic/46883-new-full-nodes/

How Daniel setup his nodes: https://www.loganmarchione.com/2016/03/setup-gridcoin-research-client-on-ubuntu/#Join_the_Gridcoin_team

The only difference I can spot is that Daniel doesn't have listen=1 enabled, and I've got grcnode.co.uk querying the clients.. I'll mess around with the config to see if anything changes. I'll try another VPS provider.

Upgrade downloads are unnecessarily bloated with base64 encoding

Encoding binary in base64 in base64 being 133% (8/6) size of binary. If relavent, this occurs in Windows.

grcrestarter2.log in Program Files, renamed to txt to allow upload to GitHub: grcrestarter2.txt

Preview:

2016-07-24 10:37:33, Downloading blob with length 9593 starting with <BLOB>4E/CocPjdcpV8mKdJ3ioKGFN8SZqxlIieQdNturp4sUA9bZOdZcxz7mJleQnqlWE6nMSpGQaHFdbT2LUJobikKu8j0QnyCGbUmVOqgQ9WKnz2deKiUqPRHYGdtKcoIemZF4yFX8yoF60IaFZUCaXHOA8Mw2L4JCvEXLC1ul0Q6zXEnGNbvWHHJZAGuG4/aRgLNlLjAkxYXO7RC/SEw7kbmluRWeDE2sII7w9WotoW1HdNlN6XQxiHB5Nsv+/pAwBJSb1X0PUtpt435wcZd1KANaX5/hzAzrBUhBKYpFhYpr6Ss7Deme0D0XT0y3PuyiXSU3B69krXmwxf3rYsojgC8vA/H5dsIR++yVjui2BezW5IsR2YC8L0aEC0bKhelCs+W9Q7k03x57i1WJO8Yb/uOZGR+zMHqWTg8g0ta3KWmo3M7bp0fLBzEP2ZvOx3IkNYwxXDL1zpmUTmoMCLZ0uCcioX1EHGUKr+OlfmzYXx3Pg5onN1TsCeQzzoh1xxzu/Fx9C+JyhVmCcKMxPQ961KyKAYaMGFyFQzyadWKKopA1cUrVrMQsCAcoSPn67caMXk1WdF+mBpjleFrQB/DALhvkeqOaE9mJoAAlM/3pacC9khuSB4Q6MwHs6XywcnZtQNeiFVKb+EVtQTqBj9tAahZetdBvjLa5dGwfLjZWiSwrTzgqkuy2SdDNhB8Vz23yUF9o9dnLYaLzS4MvG9i/3UB7GInGfYd/isRhOTQw0Hwz5aiF9Qyjs468jf9gtSVuZGE+tOiSmtEw1EZXV4q+/x/rq0pVGQTlzadGRGhk0lJ3p8bOgPCBJBy2BPPLiXrauXVbKz4QzeWndIOsf/bLNZQv6N5y+Srv0tOelT//6tKjELK6SGMB8d2R7W5qbKOFD+THpe86cDH1baP1hilsOLtE9LiPoPNjObRiWDX6Z1322L2TlsamWqA37igtRl/G6tTy+9acnxBgbSSLVF87qOePKVZxv38ie+4
2016-07-24 10:37:33, Converting base64 encoded byte array length 9580 starting with 4E/CocPjdcpV8mKdJ3ioKGFN8SZqxlIieQdNturp4sUA9bZOdZcxz7mJleQnqlWE6nMSpGQaHFdbT2LUJobikKu8j0QnyCGbUmVO
2016-07-24 10:37:33, Decrypted byte array length 7168
2016-07-24 10:37:33, Writing bytes to C:\Program Files (x86)\GridcoinResearch\\gpuenumerator.dll with length 7168
2016-07-24 10:37:33, Closing file.

Binary downloads should be done as is, no base64 conversion.

Gridcoin client crashes

Recently, users have been reporting crashes on cryptocointalk/reddit/irc:
https://cryptocointalk.com/topic/48287-gridcoin-crashes-frequently-roughly-every-10-mins-got-it-working-but-now-blocks-decrease-this-must-be-sorted-asap-for-grc-to-be-credible/
https://cryptocointalk.com/topic/1331-new-coin-launch-announcement-grc-gridcoin/page-1161
https://cryptocointalk.com/topic/27750-gridcoin-research-for-beginners/page-13#entry218880
https://cryptocointalk.com/topic/48142-keeps-closing/#entry219001

I have experienced crashes on my full nodes: (downloadable debug logs)
SF: https://mega.nz/#!tZxXlQAD!EVLiRsDw_dtpdV2BAoxZ2504iatn_Xqs_pTuycXHNEQ
AMS: https://mega.nz/#!AYAEVJDQ!IS-D5Jj23bt5BSBw7xVIky3LuL0v3dbQh1jfavWCC30
GER: https://mega.nz/#!REgUgS6S!TY0Gh3nwqo8peoHy3QvyIjG8J9JJ1yJ_bZQtrU4kb3U

Anyone that's experienced a crash & wishes to investigate further, enter the following lines into your gridcoinresearch.conf file:

debug=true
debug2=true
debug3=true

Most of the issues seem to be related to the following:

06/29/16 07:40:37 Shaving 200.000000 blocks off of main chain
AppInit06/29/16 07:40:38 Wallet out of sync - unable to mine...Shaving block 590934.000000; a1.Shaving block 590933.000000; Shaving block 590932.000000; Shaving block 590931.000000; Shaving block 590930.000000; Wallet out of sync - unable to mine...a1.Wallet out of sync - unable to mine...a1.Wallet out of sync - unable to mine...a1.Wallet out of sync - unable to mine...a1.Shaving block 590929.000000; Wallet out of sync - unable to mine...Shaving block 590928.000000; Shaving block 590927.000000; a1.Wallet out of sync - unable to mine...a1.Shaving block 590926.000000; Wallet out of sync - unable to mine...Shaving block 590925.000000; a1.Shaving block 590924.000000; Shaving block 590923.000000; Shaving block 590922.000000; Shaving block 590921.000000; Shaving block 590920.000000; Shaving block 590919.000000; Shaving block 590918.000000; Shaving block 590917.000000; Shaving block 590916.000000; Shaving block 590915.000000; Shaving block 590914.000000; Shaving block 590913.000000; Shaving block 590912.000000; AppInitAppInitShaving block 590911.000000; Shaving block 590910.000000; Shaving block 590909.000000; Shaving block 590908.000000; Shaving block 590907.000000; Shaving block 590906.000000; Shaving block 590905.000000; Shaving block 590904.000000; Shaving block 590903.000000; Shaving block 590902.000000; Shaving block 590901.000000; Shaving block 590900.000000; Shaving block 590899.000000; Shaving block 590898.000000; Shaving block 590897.000000; Shaving block 590896.000000; Shaving block 590895.000000; Shaving block 590894.000000; Shaving block 590893.000000; Shaving block 590892.000000; Shaving block 590891.000000; Shaving block 590890.000000; Shaving block 590889.000000; Shaving block 590888.000000; Shaving block 590887.000000; Shaving block 590886.000000; Shaving block 590885.000000; Shaving block 590884.000000; Shaving block 590883.000000; Shaving block 590882.000000; Shaving block 590881.000000; Shaving block 590880.000000; Shaving block 590879.000000; Shaving block 590878.000000; Shaving block 590877.000000; Shaving block 590876.000000; Shaving block 590875.000000; Shaving block 590874.000000; Shaving block 590873.000000; Shaving block 590872.000000; Shaving block 590871.000000; Shaving block 590870.000000; Shaving block 590869.000000; Shaving block 590868.000000; Shaving block 590867.000000; Shaving block 590866.000000; Shaving block 590865.000000; Shaving block 590864.000000; Shaving block 590863.000000; Shaving block 590862.000000; Shaving block 590861.000000; Shaving block 590860.000000; Shaving block 590859.000000; Shaving block 590858.000000; Shaving block 590857.000000; Shaving block 590856.000000; Shaving block 590855.000000; Shaving block 590854.000000; Shaving block 590853.000000; Shaving block 590852.000000; Shaving block 590851.000000; Shaving block 590850.000000; Shaving block 590849.000000; Shaving block 590848.000000; Shaving block 590847.000000; Shaving block 590846.000000; Shaving block 590845.000000; Shaving block 590844.000000; Shaving block 590843.000000; Shaving block 590842.000000; Shaving block 590841.000000; Shaving block 590840.000000; Shaving block 590839.000000; Shaving block 590838.000000; Shaving block 590837.000000; Shaving block 590836.000000; Shaving block 590835.000000; Shaving block 590834.000000; Shaving block 590833.000000; Shaving block 590832.000000; Shaving block 590831.000000; Shaving block 590830.000000; Shaving block 590829.000000; Shaving block 590828.000000; Shaving block 590827.000000; Shaving block 590826.000000; Shaving block 590825.000000; Shaving block 590824.000000; Shaving block 590823.000000; Shaving block 590822.000000; Shaving block 590821.000000; Shaving block 590820.000000; Shaving block 590819.000000; Shaving block 590818.000000; Shaving block 590817.000000; Shaving block 590816.000000; Shaving block 590815.000000; Shaving block 590814.000000; Shaving block 590813.000000; Shaving block 590812.000000; Shaving block 590811.000000; Shaving block 590810.000000; Shaving block 590809.000000; Shaving block 590808.000000; Shaving block 590807.000000; Shaving block 590806.000000; Shaving block 590805.000000; Shaving block 590804.000000; Shaving block 590803.000000; Shaving block 590802.000000; Shaving block 590801.000000; Shaving block 590800.000000; Shaving block 590799.000000; Shaving block 590798.000000; Shaving block 590797.000000; Shaving block 590796.000000; Shaving block 590795.000000; Shaving block 590794.000000; Shaving block 590793.000000; Shaving block 590792.000000; Shaving block 590791.000000; Shaving block 590790.000000; Shaving block 590789.000000; Shaving block 590788.000000; Shaving block 590787.000000; Shaving block 590786.000000; Shaving block 590785.000000; Shaving block 590784.000000; Shaving block 590783.000000; Shaving block 590782.000000; Shaving block 590781.000000; Shaving block 590780.000000; Shaving block 590779.000000; Shaving block 590778.000000; Shaving block 590777.000000; Shaving block 590776.000000; Shaving block 590775.000000; Shaving block 590774.000000; Shaving block 590773.000000; Shaving block 590772.000000; Shaving block 590771.000000; Shaving block 590770.000000; Shaving block 590769.000000; Shaving block 590768.000000; Shaving block 590767.000000; Shaving block 590766.000000; Shaving block 590765.000000; Shaving block 590764.000000; Shaving block 590763.000000; Shaving block 590762.000000; Shaving block 590761.000000; Shaving block 590760.000000; Shaving block 590759.000000; Shaving block 590758.000000; Shaving block 590757.000000; Shaving block 590756.000000; Shaving block 590755.000000; Shaving block 590754.000000; Shaving block 590753.000000; Shaving block 590752.000000; Shaving block 590751.000000; Shaving block 590750.000000; Shaving block 590749.000000; Shaving block 590748.000000; Shaving block 590747.000000; Shaving block 590746.000000; Shaving block 590745.000000; Shaving block 590744.000000; Shaving block 590743.000000; Shaving block 590742.000000; Shaving block 590741.000000; Shaving block 590740.000000; Shaving block 590739.000000; Shaving block 590738.000000; Shaving block 590737.000000; Shaving block 590736.000000; Shaving block 590735.000000; Postponing 0 reconnects
06/29/16 07:46:46 Postponing 0 reconnects
06/29/16 07:46:46 Postponing 0 reconnects
06/29/16 07:46:46 Postponing 0 reconnects
06/29/16 07:46:46 Postponing 0 reconnects
06/29/16 07:46:46 REORGANIZE
06/29/16 07:46:46 REORGANIZE: Disconnect 200 blocks; aaa0e301275161ade581..126453bf763b4b69dfe1
06/29/16 07:46:46 REORGANIZE: Connect 0 blocks; aaa0e301275161ade581..aaa0e301275161ade581
06/29/16 07:46:46 REORGANIZE Disc Size 200.000000ERROR: DisconnectInputs() : ReadTxIndex failed
06/29/16 07:47:01 ERROR: DisconnectInputs() : ReadTxIndex failed
06/29/16 07:47:02 ERROR: DisconnectInputs() : ReadTxIndex failed
06/29/16 07:47:07 ERROR: DisconnectInputs() : ReadTxIndex failed
06/29/16 07:48:17 ERROR: DisconnectInputs() : ReadTxIndex failed
06/29/16 07:48:20 ERROR: DisconnectInputs() : ReadTxIndex failed
06/29/16 07:48:27 ERROR: DisconnectInputs() : ReadTxIndex failed
06/29/16 07:48:43 ERROR: DisconnectInputs() : ReadTxIndex failed
06/29/16 07:49:35 ERROR: DisconnectInputs() : ReadTxIndex failed
06/29/16 07:49:37 ERROR: DisconnectInputs() : ReadTxIndex failed
06/29/16 07:50:02 ERROR: DisconnectInputs() : ReadTxIndex failed
06/29/16 07:51:41 ERROR: DisconnectInputs() : ReadTxIndex failed
06/29/16 07:56:50 REORGANIZE: done
06/29/16 07:56:50 
[DoTallyRA_START] {SBC} new best=aaa0e301275161ade581a1b9b7df76f0b4073c77bbfab3fc847b2700db5e949d  height=590735 ; ShaveChain: done
06/29/16 07:57:00 ...................................................................... [DoTallyRA_END] 
06/29/16 07:58:13 ping timeout: 1200.007795s
06/29/16 07:58:26 Proj ATLAS@Home Proj Asteroids@home Proj BURP Proj Citizen_Science_Grid Proj Climate_Prediction Proj Collatz_Conjecture Proj Cosmology@Home Proj DistributedDataMining Proj Einstein@Home Proj Enigma@home Proj GPUGRID Proj Gridcoin_Finance Proj LHC@Home_Classic Proj Leiden_Classical Proj MilkyWay@home Proj MindModeling@Home Proj Moowrap Proj NFS@Home Proj NumberFields@home Proj POEM@HOME Proj PrimeGrid Proj Rosetta@Home Proj SAT@home Proj SZTAKI_Desktop_Grid Proj World_Community_Grid Proj asteroids@home Proj climate_prediction Proj denis@home Proj einstein@home Proj enigma@home Proj milkyway@home Proj poem@home Proj primegrid Proj rosetta@home Proj seti@home Proj sztaki_desktop_grid Proj theSkyNet_POGS Proj theskynet_pogs Proj universe@home Proj vLHCathome Proj wuprop@home Proj yafu Proj yoyo@home 
 * Finished * 
06/29/16 07:59:11 ProcessBlock: ORPHAN BLOCK, prev=0fc022842093b45e85b1
06/29/16 07:59:11 the file does not exist /var/lib/boinc-client/client_state.xmlUnable to obtain Boinc CPIDs 
06/29/16 07:59:11 Boinc data directory is not in the operating system's default location 
Please move it there or specify its current location in gridcoinresearch.conf 
06/29/16 07:59:11 Performing 1st credit check ()Getting first project
Long Duration : 1467187156:inv:14583 [208.68.103.163:32749]<CR>
06/29/16 07:59:17 ERROR: mempool transaction missing input
AppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitAppInitApp

Windows error logs:

Log Name:      Application
Source:        .NET Runtime
Date:          6/29/2016 2:24:16 PM
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      grcnode
Description:
Application: gridcoinresearch.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 6FC89AAC
Stack:

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-06-29T14:24:16.000000000Z" />
    <EventRecordID>1054</EventRecordID>
    <Channel>Application</Channel>
    <Computer>grcnode</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Application: gridcoinresearch.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 6FC89AAC
Stack:
</Data>
  </EventData>
</Event>

How to add pull request?

Hi,

Am I able to create/push different branches? How can I make a pull request for your review?
I have some little, minor fixes. Would also like to get involved more with this! Loving it.

createrawtransaction missing 'data' support

I've started this page for instructing users how to send custom beacons on the Gridcoin blockchain: https://grcnode.co.uk/beacon.html

Forum thread: https://cryptocointalk.com/topic/44611-monitoring-selfburn-addresses-for-custom-beacons/?p=208479

The issue lies in "Step 2: Create the raw transaction." - the following command is accepted by the client, but the output transaction does not include OP_Return/hex encoded data:
gridcoinresearchd createrawtransaction [{"txid":txid,"vout":n,"data":"<Hex encoded data>"},...] {address:amount,...}

The createrawtransaction command is documented as:
gridcoinresearchd createrawtransaction [{"txid":txid,"vout":n},...] {"data":"<Hex encoded data>", address:amount,...}
But the above does not work, it returns an error stating that the hex encoded data isn't a valid address.

Looks like the createrawtransaction command requires 'data' support:
bitcoin/bitcoin@627468d
bitcoin/bitcoin@d707853
bitcoin/bitcoin#3128
bitcoin/bitcoin@0056095

With the data support, we can easily add OP_Return hex encoded data to transactions & extend the project rain feature to any external cryptocurrency system (side chains).

Edit: Peercoin inherited the following relevant commits:
peercoin/peercoin@1df628c
peercoin/peercoin@ac8be96

Diagnostics page error

Currently running the Gridcoin client in 'investor mode' (windows 2012 R2 full node), ran the new diagnostics tool & experienced the following error: https://i.imgur.com/O1YV8BN.png

After dismissing the error message, it did not continue the diagnostics, however the client remained stable (no crash to desktop).

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Could not find file 'C:\Program Files (x86)\GridcoinResearch\client_state.xml'.
File name: 'C:\Program Files (x86)\GridcoinResearch\client_state.xml'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path)
   at BoincStake.modGRC.GetBoincPublicKey()
   at BoincStake.modGRC.ComputeLocalCPID()
   at BoincStake.frmDiagnostics.FindCPID(Int32 iRow)
   at BoincStake.frmDiagnostics.btnRunDiagnostics_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
BoincStake
    Assembly Version: 1.20.8.79
    Win32 Version: 1.20.8.79
    CodeBase: file:///C:/Program%20Files%20(x86)/GridcoinResearch/BoincStake.DLL
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 12.0.20806.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.36350 built by: FX452RTMLDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
GRCSec
    Assembly Version: 1.0.0.3
    Win32 Version: 1.0.0.3
    CodeBase: file:///C:/Program%20Files%20(x86)/GridcoinResearch/GRCSec.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34250 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Unknown module(s) in QT: axserver on Linux

I'm trying to compile gridcoin qt on Linux, and I get this error:
Unknown module(s) in QT: axserver on Linux

After some research on #qt IRC channel, it appears that axserver is provided by activeqt module:
qtactiveqt.pro contains message("ActiveQt is a Windows Desktop-only module. Will just generate a docs target.")

Is this even supposed to compile on linux? I think some steps/dependencies are missing on the linux guide

gridcoinresearch.conf corrupts on hard reset

Seems more and more people are running into this issue. On a hard reset of the host; blue screens, cutting power, etc, the gridcoinresearch.conf file corrupts with empty contents or random characters.

A upload of one user's config file showed one long line of "NUL" values.

This causes the wallet to no longer open and instead spit out a C++ Runtime error.

I don't have details on that error, but I'm pretty sure it can be replicated easily by just filling your config file with spaces.

After deleting the config file or replacing it with the right syntax the wallet will start normally.

The error: (by Schietschijf on IRC)

untitled

Build: python 3 compatibility

I'm flagging this as both a potential problem and fix. Python 3 is becoming the defualt interpreter for Ubuntu 16.04 in April, and other linux OSs either already have or will follow suit.

laanwj at bitcoin has made the following updates to python build scripts:
bitcoin/bitcoin#7723

Change Link to Gridcoin IRC

Currently there is a tab in the bar on the left saying "GRC Chat Room".

It links to https://kiwiirc.com/client/irc.freenode.net:6667/#gridcoin . But joining it is not possible, as you have to be registered to join #gridcoin. Because of this #gridcoin-help was opened, where it is possible for newbies to ask questions without having to register a IRC nick.

Because of this I would humbly request to change the link from https://kiwiirc.com/client/irc.freenode.net:6667/#gridcoin to https://kiwiirc.com/client/irc.freenode.net:6667/#gridcoin-help so that this link can be used again by newbies to get help.

Thank you!

voting reminders, URL in polls

Two ideas to improve the voting experience for users:

  • Provide information about the vote along with the vote (e.g. short text, url with md5 over the important part of content, ... - more ideas?)
  • reminders for votes:
    • gui: Show regular reminder about open votes (maybe only for votes on which were not voted yet)
    • headless: Provide same interface as for e.g. wallet notify: call a skript to generate a reminder if configuried by the user

If I understood correctly votes become part of the blockchain. If so they become historical documents that can't be proved. We shouldn't miss to put the content and subject of votes or at least a information to validate the external information into the poll on the blockchain to make our documents complete. As of know we just save a minimal subject along with the voting itself.

To get more users to vote it would be nice to remind them (as long as they don't decide not wanting to be reminded or do not setup a reminder script for their wallet).

SendMany Notes are not sent along with transaction

Notes are not being sent with the SendMany command.

As you can see below, the note is shown under "Comment:", client side, but not under "Notes:".

Everyone reported seeing nothing under the note in their wallet after the transaction went thru.

Command used:

sendmany 'Default' '{"S8dm1WNZVt5QXkjkU16jvDjZ56C7jHGLdp":100,"SCarakaSosj7Xp4F7usapsyy6VP6Naxiru":100,"S2gAX1ntr9FVVj9iAu3WKuFxJchZpZe9bX":100}' 1 'TestingSendManyNote'

Transaction details in wallet:

Status: 1/unconfirmed, broadcast through 4 nodes
Date: 1/23/2016 15:22
To: S8dm1WNZVt5QXkjkU16jvDjZ56C7jHGLdp
Debit: -100.00 GRC
To: SCarakaSosj7Xp4F7usapsyy6VP6Naxiru
Debit: -100.00 GRC
To: S2gAX1ntr9FVVj9iAu3WKuFxJchZpZe9bX
Debit: -100.00 GRC
Transaction fee: -0.0002 GRC
Net amount: -300.0002 GRC

Comment:
TestingSendManyNote
Transaction ID: 2f1ea070eea57a083399c364584d77030868773c574ca5cec69442e13a057eb2



Information

Debit: -11.49104886 GRC
Debit: -0.33271292 GRC
Debit: -0.13260131 GRC
Debit: -0.01296811 GRC
Debit: -0.01 GRC
Debit: -0.01 GRC
Debit: -0.12685662 GRC
Debit: -0.11119852 GRC
Debit: -5.00 GRC
Debit: -0.29812841 GRC
Debit: -282.48476754 GRC
Credit: 0.01008229 GRC

Transaction:
CTransaction(hash=2f1ea070ee, nTime=1453580540, ver=1, vin.size=11, vout.size=4, nLockTime=0)
CTxIn(COutPoint(36492dae06, 1), scriptSig=3044022076355ce6241b38de)
CTxIn(COutPoint(f5c0e51a88, 18), scriptSig=304502210086e9a6120650ea)
CTxIn(COutPoint(adf48beffd, 20), scriptSig=3045022100cf55d4c7bb910e)
CTxIn(COutPoint(617f086b92, 0), scriptSig=3044022040efb01229bb11b6)
CTxIn(COutPoint(4f911c9aab, 2), scriptSig=3044022047687dc518c81f64)
CTxIn(COutPoint(81707e3883, 2), scriptSig=3045022100d09a17c4dcd32a)
CTxIn(COutPoint(ce699a572a, 0), scriptSig=3045022100a02ab8ff4c2ee7)
CTxIn(COutPoint(b63f9db758, 24), scriptSig=304402207a23b08b79a04eba)
CTxIn(COutPoint(31e1a5f786, 1), scriptSig=304502210088ee922394bd1f)
CTxIn(COutPoint(edbc5419a1, 16), scriptSig=3045022100d0cb0c1f61dabc)
CTxIn(COutPoint(6c3592813a, 1), scriptSig=3044022022227ed28af1c72d)
CTxOut(nValue=100.00, scriptPubKey=OP_DUP OP_HASH160 7522fa6d1859530da32e647bf642579de1a6de3d OP_EQUALVERIFY OP_CHECKSIG)
CTxOut(nValue=100.00, scriptPubKey=OP_DUP OP_HASH160 a076e2bfdc93da5cf2731341c7f87e0259e414cb OP_EQUALVERIFY OP_CHECKSIG)
CTxOut(nValue=0.01008229, scriptPubKey=OP_DUP OP_HASH160 d87f4ab619f2b6918a347e57565e11a919899a08 OP_EQUALVERIFY OP_CHECKSIG)
CTxOut(nValue=100.00, scriptPubKey=OP_DUP OP_HASH160 33c6adf7acd95c2485c10f0a52a21c02d8e9f7dc OP_EQUALVERIFY OP_CHECKSIG)

Notes:



Inputs:
SLwrMpdmuZAA8ttdD4AbBez8aMycWJeLzX Pool Fees SLwrMpdmuZAA8ttdD4AbBez8aMycWJeLzX Amount=11.49104886 GRC IsMine=true
SKktJjU4KK63Z2SDMtHnfvQkMErZ3X2YkL Public Address SKktJjU4KK63Z2SDMtHnfvQkMErZ3X2YkL Amount=0.33271292 GRC IsMine=true
SKktJjU4KK63Z2SDMtHnfvQkMErZ3X2YkL Public Address SKktJjU4KK63Z2SDMtHnfvQkMErZ3X2YkL Amount=0.13260131 GRC IsMine=true
SCYSaE3wf4zi4cywUUh8WK7b2Pem72tA6e SCYSaE3wf4zi4cywUUh8WK7b2Pem72tA6e Amount=0.01296811 GRC IsMine=true
RxoVbZ2NbDuweejqTURn4QMmhLwWxmteyA Default RxoVbZ2NbDuweejqTURn4QMmhLwWxmteyA Amount=0.01 GRC IsMine=true
RxoVbZ2NbDuweejqTURn4QMmhLwWxmteyA Default RxoVbZ2NbDuweejqTURn4QMmhLwWxmteyA Amount=0.01 GRC IsMine=true
SAfMtyAebjxyfDKHQeAgK4gDxUAzAiW9g7 SAfMtyAebjxyfDKHQeAgK4gDxUAzAiW9g7 Amount=0.12685662 GRC IsMine=true
SKktJjU4KK63Z2SDMtHnfvQkMErZ3X2YkL Public Address SKktJjU4KK63Z2SDMtHnfvQkMErZ3X2YkL Amount=0.11119852 GRC IsMine=true
SKktJjU4KK63Z2SDMtHnfvQkMErZ3X2YkL Public Address SKktJjU4KK63Z2SDMtHnfvQkMErZ3X2YkL Amount=5.00 GRC IsMine=true
SKktJjU4KK63Z2SDMtHnfvQkMErZ3X2YkL Public Address SKktJjU4KK63Z2SDMtHnfvQkMErZ3X2YkL Amount=0.29812841 GRC IsMine=true
SLwrMpdmuZAA8ttdD4AbBez8aMycWJeLzX Pool Fees SLwrMpdmuZAA8ttdD4AbBez8aMycWJeLzX Amount=282.48476754 GRC IsMine=true

RAW of the transaction sent:
http://explorer.gridcoin.asia/api/getrawtransaction?txid=2f1ea070eea57a083399c364584d77030868773c574ca5cec69442e13a057eb2&decrypt=1

http://www.gridresearchcorp.com/gridcoin/?transaction_raw&txid=2f1ea070eea57a083399c364584d77030868773c574ca5cec69442e13a057eb2

Staking address listed for each connection in getpeerinfo rpc command?

When looking into the getpeerinfo for inbound connections, I spotted that each connection in the 'getpeerinfo' rpc command has an address field.

If this address is their NN staking address (instead of a random address generated solely for the getpeerinfo command output) then isn't this a massive fingerprint matching IP:Address:CPID thus potentially a privacy issue?

An attacker could accurately DDOS users based on their matched identity or their large staking balance (to disrupt network consensus) instead of having to DDOS the entire network in an attempt to take down the network?

    {
        "" : "ip.ip.ip.ip:32749",
        "services" : "00000001",
        "lastsend" : 1465252058,
        "lastrecv" : 1465252057,
        "conntime" : 1465236556,
        "pingtime" : 0.70214200,
        "version" : 180317,
        "subver" : "/Nakamoto:3.5.4.9(0)/",
        "inbound" : false,
        "startingheight" : 571897,
        "sNeuralNetworkVersion" : "",
        "nTrust" : 0,
        "GRCAddress" : "RyTapnnNdWGag5KrbARdy23ZBbwbTWmMCk",
        "banscore" : 0,
        "Neural Network" : false,
        "Neural Hash" : ""
    },

Custom Directory Persistence

Neural Network info is written to %appdata%\gridcoinresearch even though a custom datadir= was specified at launch.

Also, when a custom datadir= has been specified at launch, client reads/writes to/from %appdata%\gridcoinresearch when restarting after autoupdate and downloadblocks.

I believe my client is perpetually stuck in "Investor" mode after deleting information from %appdata%\gridcoinresearch

Linux snapshot not compatible with Windows client?

Issue I've raised over at the grcnode repo to keep track of this issue:
grctest/grcnode#1

I've tried to create a snapshot from my full nodes, but I'm experiencing an error in windows when launching the gridcoin client: https://i.imgur.com/6ubDKo6.png

Is the linux blockchain incompatible with the windows client? There's a noticeable difference in file permissions between my snapshot & the official snapshot (permission breakdown in the linked issue).

Prior to executing the following script, I shutdown the Gridcoin client, wait until the process fully stops then run the following steps:

    cp -r blk0001.dat snapshot/
    cp -r peers.dat snapshot/
    cp -r chainstate/ snapshot/
    cp -r database/ snapshot/
    cp -r chainstate/ snapshot/
    cp -r txleveldb/ snapshot/

    cd snapshot/

    tar -cvzf snapshot.tar.gz *

Ubuntu issue #1242 from bitcoin (qt menus disappearing)

Kia ora Rob
I thought I was packaging poorly, but it turns out that there is a qt issue with Unity and thus most Ubuntu users. While the original issue raised cites Ubuntu 1204, I can confirm that it affects the Unity desktop in 1404-1504. laanwj at bitcoin has already resolved it. the issue was raised here:
bitcoin/bitcoin#1242
The issue was resolved with the commits here:
bitcoin/bitcoin#3493
Let me know if this is something you can work on in the near term, or if I should attempt to use laanwj's commits as a patch in my builds. I'd rather not mess around under the hood, to be honest. I'm neither a c or a qt programmer, and besides, the whole idea with packaging is to keep the trust by using the upstream code for the builds and only tweaking at the edges.
Cheers
Rick (caraka)

Question marks in interface

Lots of question marks in the interface. I've downloaded the client from Gridcoin's website and installed under Windows 10. Windows interface language is Ukrainian.
bug

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.