Comments (8)
Thank you for realing that the ports arent being closed.
I think this test is failing because it uses sleep instead of reacting to return values or callbacks.
Sleeps don't work on different computers because different computers need to sleep different amounts of time.
Either we need to fiX the commands to avoid sleeps, or we need to increase the amount of time it sleeps so that the test passes on more computers.
Or maybe test_market should only be run on servers that will actually be running a market. No reason to test unused code.
from amoveo.
Good
When i run in production mode, and begin a sync, the program downloads 100 blocks first.
When I start mining another 56 blocks are created, for which the mining reward is added to the balance.
Is this the correct behavior of the program. I left it running over night, and when I came back to it, I had mined a few hundred blocks. However when I stop and clean the program, it restarted from block 156 again, and reset the balance.
Is the production mode acting as a stand alone node with the server, ( ie no interaction with other people testing the software.)
from amoveo.
Also, what procedure is used to mine the blocks?
from amoveo.
To mine blocks:
mine:start()
You are right, only 100 blocks are being downloaded at a time. This is a problem.
Also it can't seem to share past 156 or so.
from amoveo.
The problem with sharing blocks is fixed in the newer version of the code.
I made some changes that may have fixed the problem that @damoCl found.
Do the tests still fail on @damoCl 's computer?
Would you mind sharing the log files if there are still errors?
/_build/dev1/rel/ae_core/log/crash.log
/_build/dev2/rel/ae_core/log/crash.log
/_build/dev3/rel/ae_core/log/crash.log
(remember to do git pull
to download the new version of the code before running tests.)
from amoveo.
Sorry, Zach, I upgraded the ameveo code, and have overwritten the crash logs. I'll back them up from now, in future.
Another issue I have found, is that if I modify your code to run on a few more cores, by modifying the block.erl file, at around line 367, Cores=10 for example, the miner will quickly mine 5 or 10 blocks, and then stop mining.
from amoveo.
Thank you for noticing this mining problem.
from amoveo.
I don't think mining from the core software is very important.
We need to set up software for GPU mining and mining pools as soon as possible.
Once GPU mining is possible, no one will mine with the core software anyway.
For now I will close this issue. feel free to open another.
from amoveo.
Related Issues (20)
- move a channel bet to a direct path. HOT 1
- Sync mode that downloads blocks without merkel proofs, and generates the merkel proofs locally. HOT 2
- syncing optimization
- optimizing futarchy for least volatility HOT 4
- probabilistic payment HOT 20
- multisig accounts
- purely functional on-chain smart contracts. HOT 4
- more efficient merkel tree database
- more efficient merkel tree database HOT 2
- hard update 17 changes HOT 1
- accumulator database instead of merkel HOT 1
- Documentation is not Accurate HOT 9
- checkpointing, and syncing blocks in reverse time order HOT 1
- Protocol 'inet_tcp': register/listen error HOT 5
- soft update to enable betting on oracles that do not yet exist. HOT 2
- Cheaper oracles HOT 1
- hard update 25
- Issues with proof that PoS consensus doesn't work HOT 3
- require miners to run full nodes
- partially matching channel offers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amoveo.