Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] integrated_scraper_2 changes tracking #1488

Merged

Conversation

jamescowens
Copy link
Member

This is done with a atomic boolean that is updated by the
scraper or neuralnet loops as a result of the call to the
OutOfSyncByAge function.

This is done with a atomic boolean that is updated by the
scraper or neuralnet loops as a result of the call to the
OutOfSyncByAge function.
@jamescowens
Copy link
Member Author

Should we change this to put the atomic boolean update in the OutOfSyncByAge function itself? That way the only code that will be calling this is in main.cpp or the scraper/neuralnet loops in the scraper, and all other threads in the wallet can simply check the boolean without a lock on cs_main?

@jamescowens jamescowens requested a review from denravonska June 29, 2019 16:49
@jamescowens jamescowens self-assigned this Jun 29, 2019
@jamescowens jamescowens added this to the Elizabeth milestone Jun 29, 2019
@jamescowens
Copy link
Member Author

jamescowens commented Jun 29, 2019

The reason this is necessary is that the GridcoinServices() part in main is protected by it's own out of sync check; however, the neural_net message function calls in ProcessMessage are not.

@jamescowens jamescowens force-pushed the integrated_scraper_2 branch 3 times, most recently from 3506d76 to 51058b9 Compare July 1, 2019 03:37
@jamescowens jamescowens force-pushed the integrated_scraper_2 branch from 51058b9 to c2e9b15 Compare July 1, 2019 04:29
@jamescowens jamescowens force-pushed the integrated_scraper_2 branch from 3fe53ff to 32abe1e Compare July 2, 2019 03:57
@denravonska
Copy link
Member

utACK once my comments are straightened out.

@jamescowens jamescowens changed the title Add back in the in sync check in ScraperGetNeuralContract [WIP] integrated_scraper_2 changes tracking Jul 6, 2019
@jamescowens jamescowens requested review from cyrossignol and removed request for cyrossignol July 7, 2019 00:42
@jamescowens jamescowens force-pushed the integrated_scraper_2 branch from d433114 to 87c24ea Compare July 15, 2019 20:26
@jamescowens jamescowens merged commit 7144227 into gridcoin-community:development Jul 27, 2019
jamescowens added a commit that referenced this pull request Aug 20, 2019
Added:
 - Add freedesktop.org desktop file and icon set #1438 (@a123b)
 - Add warning in help for blockchain scan for importprivkey #1469 (@jamescowens)
 - Consolidateunspent rpc function #1472 (@jamescowens)
 - Scraper 2.0 improvements #1481, #1488, #1509, and #1514 (@jamescowens, @cyrossignol)
   - explorer mode operation
   - simplified explainmagnitude output
   - improved convergence reporting, including scraper information in the tooltip when fDebug3 is set
   - improved statistics and SB contract core caching based on a bClean flag in the cache global
   - new SB format and packing for bv11
   - new SB contract hashing (native) for bv11
   - changes to accomodate new beacon approach
   - Implement in memory versioning for team file ETags
 - Implement local dynamic team requirement removal and whitelist #1502 (@cyrossignol)

Changed:
 - Quiet logging for getmininginfo and scraper INFO logging level #1460 (@jamescowens)
 - Spelling corrections #1461, #1462 (@caraka)
 - Update crypto module #1453 (@denravonska)
 - Update .travis.yml for Bionic #1475 (@jamescowens)
 - Create CPID classes and clean up CPID code #1477 (@cyrossignol)
 - Refactor researcher context and CPID harvesting #1480 (@cyrossignol)
   - Remove boinckey export RPC method and import handler
 - Notify when wallet locked in advertisebeacon RPC method #1504 (@cyrossignol)
 - Notify when wallet locked in beaconstatus RPC method #1506 (@cyrossignol)
 - Change spacer minimum height hint #1511 (@jamescowens)

Removed:
 - Remove safe mode #1434 (@denravonska)
 - Remove bitcoin.moc in Makefile.qt.include #1444 (@RoboticMind)
 - Clean up legacy Proof-of-Work functions #1497 (@cyrossignol)

Fixed:
 - Constrain walletpassphrase to 10000000 seconds #1459 (@jamescowens)
 - Straighten out localization in the scraper. #1471 (@jamescowens)
 - Quick fix for rainbymagnitude #1473 (@jamescowens)
 - Correct negation error in scraper tooltip for vScrapersNotPublishing #1484 (@jamescowens)
 - Fix staked block rejection when active researcher #1485 (@cyrossignol)
 - Add back informational magnitude to generated blocks #1489 (@cyrossignol)
 - Add back in the in sync check in ScraperGetNeuralContract #1492 (@jamescowens)
 - Scraper correct team file processing. #1501 (@jamescowens)
 - Have importwallet file path default to datadir #1508 (@jamescowens)
 - Scraper add Beacon Map size check to ensure convergence #1515 (@jamescowens)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants