Giter Club home page Giter Club logo

dogechia / doge-chia Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flax-network/flax-blockchain

24.0 24.0 8.0 21.2 MB

DogeChia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)

Home Page: https://dogechi.org

License: Apache License 2.0

Shell 0.63% PowerShell 0.14% Python 99.23%
blockchain blockchain-network dogechia dogechia-blockchain farmer full-node harvesters peer proof-of-space proof-of-time timelord vdf wallets

doge-chia's People

Contributors

aisk avatar almogdepaz avatar altendky avatar aqk avatar arvidn avatar cmmarslender avatar dependabot[bot] avatar dkackman avatar efishcent avatar emlowe avatar enterovipunen avatar fchirica avatar hagbardcelene avatar hoffmang9 avatar ilmairinen avatar jespino avatar justinengland avatar mariano54 avatar matt-o-how avatar nikolaj-k avatar nirajpathak13 avatar richardkiss avatar ronanlong avatar rostislav avatar seeden avatar wbendick avatar wjblanke avatar xdustinface avatar xorinox avatar yostra 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

doge-chia's Issues

Support of new “Portable” NFT ploters

Hello on the Chia Forks page they indicate that it has full support for the new NFT plots but it is not like that. I have two weeks already harvesting and I only receive 25% of the reward. So my question to you would be. When do you start incorporating full support for the new NFT ploters? Thanks a lot

Cannot start daemon after upgraded to 1.0.7

(venv) doge-chia % dogechia start farmer -r
Error, timeout.
Daemon not started yet
Starting daemon
Traceback (most recent call last):
File "/Users/trypt/doge-chia/venv/bin/dogechia", line 33, in
sys.exit(load_entry_point('dogechia-blockchain', 'console_scripts', 'dogechia')())
File "/Users/trypt/doge-chia/dogechia/cmds/dogechia.py", line 79, in main
cli() # pylint: disable=no-value-for-parameter
File "/Users/trypt/doge-chia/venv/lib/python3.9/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/Users/trypt/doge-chia/venv/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Users/trypt/doge-chia/venv/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/trypt/doge-chia/venv/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/trypt/doge-chia/venv/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Users/trypt/doge-chia/venv/lib/python3.9/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/trypt/doge-chia/dogechia/cmds/dogechia.py", line 61, in run_daemon_cmd
asyncio.get_event_loop().run_until_complete(async_run_daemon(ctx.obj["root_path"]))
File "/usr/local/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/Users/trypt/doge-chia/dogechia/daemon/server.py", line 1006, in async_run_daemon
await ws_server.start()
File "/Users/trypt/doge-chia/dogechia/daemon/server.py", line 143, in start
self.websocket_server = await serve(
File "/Users/trypt/doge-chia/venv/lib/python3.9/site-packages/websockets/server.py", line 965, in await_impl
server = await self._create_server()
File "/usr/local/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 1494, in create_server
raise OSError(err.errno, 'error while attempting '
OSError: [Errno 48] error while attempting to bind on address ('::1', 56669, 0, 0): address already in use
Error, timeout.
Daemon not started yet
Failed to create the dogechia daemon
(venv) doge-chia % dogechia stop all -d
Error, timeout.
Daemon not started yet
Couldn't connect to dogechia daemon

I'm on Mac, after upgrading to 1.0.7 via terminal and activated, trying to start but failed, cannot even stop all, all gives me error, timeout. After several tries, I gave up, paste the old 0.1.5 back to the folder, all normal again.

[BUG] closing GUI doesn't close worker Processes

Describe the bug
When the GUI is closed worker processes persist

To Reproduce
Steps to reproduce the behavior:

  1. install
  2. start
  3. stop

Expected behavior
Worker processes should be closed with the GUI

Desktop

  • OS: Windows
  • Browser Firefox
  • Version 91

Smartphone
No! Why?

Additional context
I've been getting into Taco in combination with multiple other forks, most seem to have this problem, There are port collisions with Flax, but not starting Flax does not seem to help.
Others are: Chaingreen, Chia, Covid, Flax, Silicon, Taco

[BUG] DogeChia writing 1 TB of log every day

Describe the bug
Doge Chia is writing 1TB of empty debug log every day

To Reproduce
Steps to reproduce the behavior:

  1. Install
  2. Start
  3. Log into wallet

Expected behavior
Less log written

Desktop

  • OS: Windows
  • Browser Firefox
  • Version 91

Smartphone
No! Why? for what?

Additional context
I've been getting into Taco in combination with multiple other forks, most seem to have this problem, I've checked there are 2 port collisions with Flax, Not running flax doesn't help though.
Others are: Chaingreen, Chia, Covid, Flax, Silicon, Taco

The app tries to connect to the official chia chain !

Hello,
For a couple of days now, I see that the client connects to other chains (chia official for sure and maybe another one which runs on port 28444).
image

I am running multiple chains on the same machine. Maybe this is the issue ?

start_wallet.exe taking a lot of CPU

Describe the bug
While running the windows GUI, I found that even after syncing, it consumes a lot of CPU. I checked it in the task manager and hunted it down to the start_wallet.exe. It constantly takes 8-13% of the CPU.

To Reproduce
Steps to reproduce the behavior:
Start the GUI, check in in the task manager

Expected behavior
start_wallet should only take 0 to 3%, mostly 0. Like the original Chia wallet

RPC calls not working

(venv) root@virtualserver01:~/doge-chia# dogechia netspace
Exception 404, message='Not Found', url=URL('https://localhost:6769/get_blockchain_state')

(venv) root@virtualserver01:~/doge-chia# dogechia farm summary
Exception from 'wallet' {'error': "'NoneType' object has no attribute 'tx_store'", 'success': False}
Exception from 'full node' 404, message='Not Found', url=URL('https://localhost:6769/get_blockchain_state')
Farming status: Not available
Total dogechia farmed: Unknown
User transaction fees: Unknown
Block rewards: Unknown
Last height farmed: Unknown
Plot count: 0
Total size of plots: 0.000 GiB
Estimated network space: Unknown
Expected time to win: Unknown
Note: log into your key using 'dogechia wallet show' to see rewards for each key

Plot Count is wrong

I am running silicoin, flora, chaingreen, flax and dogechia while hpool miner is running.
All clients are reporting 2028 plots, while dogechia shows 1929.
(Dogechia shows 5 invalid plots which other clients also show as invalid.)
Why such big discrepancy in plot count? 100 plots is 10000GB = 10TB

Check if wallet is running at 6761

After dogechia start all it looks working, but wallet is probably not started. dogechia wallet show tells Connection error. Check if wallet is running at 6761.
Maybe there are still unchanged ports in configurations?

Are you installing it clean? Or were you running an earlier version?

I install clean version, without previous. - Debian Linux

Installed by git clone and sh install.sh, then dogechia init, dogechia keys add, dogechia start all ... By the same process I installed other forks without issues.

Did you start GUI?

No, i have no GUI and no X in Debian - Debug.log shows already:

2021-07-09T14:09:00.856 full_node dogechia.full_node.full_node: INFO Number of peers we are syncing from: 8
2021-07-09T14:09:00.856 full_node dogechia.full_node.full_node: INFO Added blocks 2848 to 2880
2021-07-09T14:09:00.856 full_node dogechia.full_node.full_node: INFO Requesting blocks: 2880 to 2912
2021-07-09T14:09:03.958 full_node dogechia.full_node.full_node: INFO Added blocks 2880 to 2912
2021-07-09T14:09:03.959 full_node dogechia.full_node.full_node: INFO Requesting blocks: 2912 to 2944
2021-07-09T14:09:06.708 full_node dogechia.full_node.full_node: INFO Added blocks 2912 to 2944
2021-07-09T14:09:06.708 full_node dogechia.full_node.full_node: INFO Requesting blocks: 2944 to 2976
2021-07-09T14:09:10.424 full_node dogechia.full_node.full_node: INFO Added blocks 2944 to 2976
2021-07-09T14:09:10.424 full_node dogechia.full_node.full_node: INFO Requesting blocks: 2976 to 3008
2021-07-09T14:09:13.420 full_node dogechia.full_node.full_node: INFO Added blocks 2976 to 3008
2021-07-09T14:09:13.421 full_node dogechia.full_node.full_node: INFO Requesting blocks: 3008 to 3040
2021-07-09T14:09:16.516 full_node dogechia.full_node.full_node: INFO Added blocks 3008 to 3040
2021-07-09T14:09:16.516 full_node dogechia.full_node.full_node: INFO Requesting blocks: 3040 to 3072
2021-07-09T14:09:19.666 full_node dogechia.full_node.full_node: INFO Added blocks 3040 to 3072
2021-07-09T14:09:19.666 full_node dogechia.full_node.full_node: INFO Requesting blocks: 3072 to 3104
2021-07-09T14:09:22.744 full_node dogechia.full_node.full_node: INFO Added blocks 3072 to 3104
2021-07-09T14:09:22.744 full_node dogechia.full_node.full_node: INFO Requesting blocks: 3104 to 3136

Describe the bug*
A clear and concise description of what the bug is.

The app tries to connect to chia chain !

0xf35d4142a87844b76ff9f13d95c10dd56e24505c73fea3dc493cc144f6941ccd
220.253.127.115
8444/8444
0/0
Full Node
388,996
0x32ed6b329f4ca06cfa4c4e2b2d70582d8f681cfc2dfaca78dd5811eb09ef0889
174.71.21.171
8444/8444
0/0.1
Full Node
560,949
0xc850fe7fc29f8d001ea10f93b894b32a88c6979aad5d1338b7385636e108506c
24.252.159.74
8444/8444
0/0.2
Full Node
560,949

ui, wallet, introducer, and harvester port conflicts. same ssl cert as flax.

Describe the bug
dogechia uses the same ui, wallet, and introducer ports as flax. it also uses the same SSL cert as flax, which cause network connections to cross and not be rejected. these conflicts cause doge-chia apps to fail. seeing that you forked from flax (and not vise-versa), you should change these.

it also uses the same harvester port as avocado, but I think that one came later. that will still cause proofs not to be found if both harvesters are running on the same machine.

To Reproduce
you can see the port conflicts easily yourselves in the config files.
you can also diff the ca cert with flax to see they are the same.

Expected behavior
no port or ssl conflicts

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.