Giter Site home page Giter Site logo

chaingreen-blockchain's Introduction

chaingreen-blockchain

Alt text

GithHub Super LinterMacOS installer on Catalina and Python 3.8Windows Installer on Windows 10 and Python 3.7 Ubuntu core TestMacOS blockchain TestsMacOS simulation TestsMacOS core Tests

Chaingreen is a modern cryptocurrency built from scratch, designed to be efficient, decentralized, and secure. Here are some of the features and benefits:

  • Proof of space and time based consensus which allows anyone to farm with commodity hardware
  • Very easy to use full node and farmer GUI and cli (thousands of nodes active on mainnet)
  • Simplified UTXO based transaction model, with small on chain state
  • Lisp-style turing complete functional programming language for money related use cases
  • BLS keys and aggregate signatures (only one signature per block)
  • Pooling protocol that allows farmers to have control of making blocks
  • Support for light clients with fast, objective syncing
  • A growing community of farmers and developers around the world

Please check out the wiki and FAQ for information on this project.

Python 3.7+ is required. Make sure your default python version is >=3.7 by typing python3.

If you are behind a NAT, it can be difficult for peers outside your subnet to reach you when they start up. You can enable UPnP on your router or add a NAT (for IPv4 but not IPv6) and firewall rules to allow TCP port 8744 access to your peer. These methods tend to be router make/model specific.

Most users should only install harvesters, farmers, plotter, full nodes, and wallets. Building Timelords and VDFs is for sophisticated users, in most environments. Chaingreen Network and additional volunteers are running sufficient Timelords for consensus.

Installing

Install instructions are available in the INSTALL section of the chia-blockchain repository wiki.

Running

Once installed, a Quick Start Guide is available from the repository wiki.

chaingreen-blockchain's People

Contributors

aisk avatar alfondotnet avatar almogdepaz avatar altendky avatar aqk avatar arvidn avatar cmmarslender avatar dependabot[bot] avatar dkackman avatar efishcent avatar emlowe avatar fchirica avatar hoffmang9 avatar jespino avatar justinengland avatar mariano54 avatar matt-o-how avatar miosukakura avatar quexington avatar richardkiss avatar ronanlong avatar rostislav avatar seeden avatar todortron avatar wbendick avatar wjblanke avatar xdustinface avatar xorinox avatar yakoshiba-momiti 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  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

chaingreen-blockchain's Issues

WARNING Banning[BUG]

Hi, im on Windows and i have this error on log:
different IP, same error.
2021-06-20T21:51:40.030 full_node chaingreen.full_node.full_node: ERROR Invalid block from peer: {'host': '220.133.72.31', 'port': 8744} Err.INVALID_NEW_DIFFICULTY
2021-06-20T21:51:40.374 full_node full_node_server : WARNING Banning 220.133.72.31 for 600 seconds

  • OS: Windows 10 Pro
  • CPU: Ryzen 5 3600

Invalid Plots

This morning Chaingreen GUI on windows stop sync. I close the program and when I restart I see I just have 9 valid plots from 198 plots total.

Chaingreen Plots
Chia Plots
GUI on windows stop sync. I close the program and when I restart I see I just have 9 valid plots from 198 plots total.

[BUG] "chaingreen farm summary" linux returns all zero's for data

Describe the bug
Serious problems out of the box, no such problems on 'flax'
The thing was synced in 12 hours, fine but the problem is the 'farm summary' never shows the plots, the 'plots check' shows everything ok,

To Reproduce
It's appears that all the 'guts' of the 'farm' is missing from the code.

chaingreen farm summary
Farming status: Farming
Total chaingreen farmed: 0.0
User transaction fees: 0.0
Block rewards: 0.0
Last height farmed: 0
Plot count: 0
Total size of plots: 0.000 GiB
Estimated network space: 313.871 PiB
Expected time to win: Unknown
Note: log into your key using 'chaingreen wallet show' to see rewards for each key

( ok not all is zero, the 'space' fills in but everything else is zero, I have 1,000's of plots, and they all work fine with chia, hpool, and flax. )

Expected behavior
Well I expected to see it work by now, last week I knew that only 'flax' was working, but this week I wanted to try one more time to get 'chaingreen' working, but still it seems there are massive internal problems

OS: [e.g. Linux]

Additional context
Add any other context about the problem here.

Roadmap for pool support?

Hello, I'd like to inquire when pool support is planned, I'm afraid that large farmers will take over the blockchain with a 51% attack.
Any replies are appreciated.

I have 800 plots, but I can't catch up with the network.

Every day, the number of plots increases by 30, and the time until the payment is received increases. At the start of the project, this should not be the case. The network is not growing so much that I can't catch up with it. I have 800 sites, but I can't catch up with the network.

[BUG] Struggling to connect to peers

Describe the bug
When I initially start Chaingreen 1.16 GUI I get no connections and therefore no syncing. I have to add the two IPs on the download page. After 12 hours I had maybe an additional 2 connections, but one of those dropped off. The only reliable connections I get are from manually adding IPs people have given me. I do rarely get other connections, but we're only talking 1 or 2 a day.

To Reproduce

  1. Start Chaingreen 1.16 GUI
  2. Wait for eternity

Expected behavior
I expect, like the Chia 1.17 GUI software, for there to be a brief wait of a minute or two, then to get multiple connections and start syncing.

Desktop (please complete the following information):

  • OS: Windows 10 Pro 20H2
  • CPU: Ryzen 9 5900X
  • Router: Ubiquiti UDM (firmware 1.9.3)

Additional context
UPNP is enabled in the config and I can see the rule on the UDM for directing incoming traffic on port 8744 to the PC running the Chaingreen software.

[BUG] Block rewards not showing correct number! Something is broken

According to these logs I should have won at least 54 blocks. GUI only shows me a total of 19 rewards. Why is that?
Screen Shot 2021-06-20 at 2 55 28 PM

2021-06-19T13:29:52.496 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming a7123bf3a4... Found 1 proofs. Time: 0.91150 s. Total 673 plots
2021-06-19T13:30:21.213 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming a7123bf3a4... Found 1 proofs. Time: 0.88349 s. Total 673 plots
2021-06-19T13:32:33.640 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 4121937bf7... Found 1 proofs. Time: 0.89285 s. Total 673 plots
2021-06-19T13:33:03.877 harvester chaingreen.harvester.harvester: INFO     3 plots were eligible for farming 4121937bf7... Found 1 proofs. Time: 0.94649 s. Total 673 plots
2021-06-19T13:33:53.533 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 4121937bf7... Found 1 proofs. Time: 0.87923 s. Total 673 plots
2021-06-19T13:39:58.776 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming c973bd1827... Found 1 proofs. Time: 0.84154 s. Total 673 plots
2021-06-19T13:42:57.555 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 2f29d88bc5... Found 1 proofs. Time: 0.98481 s. Total 673 plots
2021-06-19T13:43:20.991 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 2f29d88bc5... Found 1 proofs. Time: 0.98338 s. Total 673 plots
2021-06-19T13:49:47.218 harvester chaingreen.harvester.harvester: INFO     3 plots were eligible for farming 140d75145b... Found 1 proofs. Time: 0.83397 s. Total 673 plots
2021-06-19T13:52:34.299 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 384bd25f75... Found 1 proofs. Time: 0.98043 s. Total 673 plots
2021-06-19T13:55:38.335 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 98934f15cb... Found 1 proofs. Time: 0.92680 s. Total 673 plots
2021-06-19T14:11:46.698 harvester chaingreen.harvester.harvester: INFO     3 plots were eligible for farming e0146bdf2a... Found 1 proofs. Time: 0.86466 s. Total 673 plots
2021-06-19T12:20:43.188 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 97279181e5... Found 1 proofs. Time: 0.79517 s. Total 673 plots
2021-06-19T12:26:30.430 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 28c8fa129b... Found 1 proofs. Time: 1.31857 s. Total 673 plots
2021-06-19T12:30:41.010 harvester chaingreen.harvester.harvester: INFO     4 plots were eligible for farming e83e922338... Found 1 proofs. Time: 1.05807 s. Total 673 plots
2021-06-19T12:31:53.824 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming e83e922338... Found 1 proofs. Time: 0.95966 s. Total 673 plots
2021-06-19T12:35:07.116 harvester chaingreen.harvester.harvester: INFO     5 plots were eligible for farming 478a7990a7... Found 1 proofs. Time: 1.08248 s. Total 673 plots
2021-06-19T12:39:11.408 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 28a5394d9f... Found 1 proofs. Time: 0.89281 s. Total 673 plots
2021-06-19T12:40:34.075 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 28a5394d9f... Found 1 proofs. Time: 0.91612 s. Total 673 plots
2021-06-19T12:41:47.031 harvester chaingreen.harvester.harvester: INFO     4 plots were eligible for farming 5482038dcb... Found 1 proofs. Time: 0.92395 s. Total 673 plots
2021-06-19T12:43:00.589 harvester chaingreen.harvester.harvester: INFO     3 plots were eligible for farming 5482038dcb... Found 1 proofs. Time: 0.91614 s. Total 673 plots
2021-06-19T12:49:43.205 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 9a62dcba05... Found 1 proofs. Time: 0.94717 s. Total 673 plots
2021-06-19T12:50:35.684 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 9a62dcba05... Found 1 proofs. Time: 0.92037 s. Total 673 plots
2021-06-19T12:58:42.497 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 109fb9d6be... Found 1 proofs. Time: 0.88943 s. Total 673 plots
2021-06-19T12:59:08.476 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 109fb9d6be... Found 1 proofs. Time: 0.93421 s. Total 673 plots
2021-06-19T13:06:19.217 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 8b80d89558... Found 1 proofs. Time: 0.95337 s. Total 673 plots
2021-06-19T13:10:32.163 harvester chaingreen.harvester.harvester: INFO     3 plots were eligible for farming 3613fee562... Found 1 proofs. Time: 0.88123 s. Total 673 plots
2021-06-19T13:11:16.505 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 3613fee562... Found 1 proofs. Time: 1.22495 s. Total 673 plots
2021-06-19T13:14:21.799 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming daa606707e... Found 1 proofs. Time: 0.93294 s. Total 673 plots
2021-06-19T11:11:28.028 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 8a0adf8085... Found 1 proofs. Time: 0.93006 s. Total 673 plots
2021-06-19T11:11:43.669 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 8a0adf8085... Found 1 proofs. Time: 0.23723 s. Total 673 plots
2021-06-19T11:20:31.982 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 8a0adf8085... Found 1 proofs. Time: 0.94185 s. Total 673 plots
2021-06-19T11:20:38.685 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 8a0adf8085... Found 1 proofs. Time: 0.60918 s. Total 673 plots
2021-06-19T11:21:32.994 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 8a0adf8085... Found 1 proofs. Time: 0.87473 s. Total 673 plots
2021-06-19T11:22:17.461 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 8a0adf8085... Found 1 proofs. Time: 0.91156 s. Total 673 plots
2021-06-19T11:22:29.217 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 8a0adf8085... Found 1 proofs. Time: 0.84656 s. Total 673 plots
2021-06-19T11:22:31.909 harvester chaingreen.harvester.harvester: INFO     3 plots were eligible for farming 8a0adf8085... Found 1 proofs. Time: 0.90952 s. Total 673 plots
2021-06-19T11:31:25.304 harvester chaingreen.harvester.harvester: INFO     4 plots were eligible for farming 763c441cb2... Found 1 proofs. Time: 1.70130 s. Total 673 plots
2021-06-19T11:32:34.470 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 763c441cb2... Found 1 proofs. Time: 0.83159 s. Total 673 plots
2021-06-19T11:32:44.814 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 763c441cb2... Found 1 proofs. Time: 0.97407 s. Total 673 plots
2021-06-19T11:32:52.448 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 763c441cb2... Found 1 proofs. Time: 0.89481 s. Total 673 plots
2021-06-19T11:33:08.398 harvester chaingreen.harvester.harvester: INFO     3 plots were eligible for farming 763c441cb2... Found 1 proofs. Time: 0.89753 s. Total 673 plots
2021-06-19T11:33:18.605 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 763c441cb2... Found 1 proofs. Time: 0.81820 s. Total 673 plots
2021-06-19T11:35:59.025 harvester chaingreen.harvester.harvester: INFO     3 plots were eligible for farming f22e8f8912... Found 1 proofs. Time: 0.92692 s. Total 673 plots
2021-06-19T11:39:52.430 harvester chaingreen.harvester.harvester: INFO     3 plots were eligible for farming f22e8f8912... Found 1 proofs. Time: 0.86568 s. Total 673 plots
2021-06-19T11:41:49.296 harvester chaingreen.harvester.harvester: INFO     5 plots were eligible for farming 0fc55f8865... Found 1 proofs. Time: 1.12685 s. Total 673 plots
2021-06-19T11:46:58.802 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 1144537eaa... Found 1 proofs. Time: 0.85957 s. Total 673 plots
2021-06-19T11:49:59.327 harvester chaingreen.harvester.harvester: INFO     1 plots were eligible for farming 5d65acc9ed... Found 1 proofs. Time: 1.59724 s. Total 673 plots
2021-06-19T11:56:09.141 harvester chaingreen.harvester.harvester: INFO     3 plots were eligible for farming 7214b76452... Found 1 proofs. Time: 0.83576 s. Total 673 plots
2021-06-19T11:56:13.785 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 7214b76452... Found 1 proofs. Time: 0.93123 s. Total 673 plots
2021-06-19T12:03:30.419 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 87e0c09d30... Found 1 proofs. Time: 0.78059 s. Total 673 plots
2021-06-19T12:12:24.659 harvester chaingreen.harvester.harvester: INFO     2 plots were eligible for farming 87a7045840... Found 1 proofs. Time: 0.95644 s. Total 673 plots
2021-06-19T12:13:18.947 harvester chaingreen.harvester.harvester: INFO     4 plots were eligible for farming feef09045d... Found 1 proofs. Time: 0.87028 s. Total 673 plots

[BUG] The number of coins is not displayed.

Describe the bug
The number of coins is not displayed. But, you can see them on the Wallet tab - Total Balance
To Reproduce

See error
err

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Linux]
  • OS Version/Flavor: [e.g. CentOS 7.2]
  • CPU: [e.g. Intel Xeon 8175M]

Additional context
Add any other context about the problem here.

Extra word showing up in wallet backup word list[BUG]

Describe the bug
I simply created new wallet and the attached screen appeared. Notice the extra 17 at the start of the list and the actual 17 value. The first 17 value did not appear in the list anywhere

IMG_1609 (002)

To Reproduce
Steps to reproduce the behavior:
not sure it is repro I just pressed new wallet last time.

Expected behavior
only 24 key words not 25

Desktop (please complete the following information):

  • OS: Windows
  • OS Version/Flavor: 10 Pro 64bit
  • CPU: Intel I79700K

Was creating the first wallet on the machine. No existing chaingreen wallet on the system but there was a chia wallet ( the word did not appear in the chia word list either). I recreated the wallet on a different machine but to do so I had to ignore the first 17 word value at the start of the list.

Good plot are marked as invalid plot [BUG]

I have 227 plot farmed on chia official block chain and other forks of chia offical blockchain.
All plots are ok for the others blockchain but all plots are make as invalid on chaingreen.

On the log i get this error:

2021-06-24T08:33:19.971 harvester chaingreen.plotting.plot_tools: ERROR Failed to open file K:\plot-k32-2021-06-24-06-10-0c7f02cfe2adebcb85c8fb60140fb6da1376102e0388b76b48428e2a2186c894.plot. badbit or failbit after reading size 104 at position 0 Traceback (most recent call last):
File "chaingreen\plotting\plot_tools.py", line 189, in process_file
RuntimeError: badbit or failbit after reading size 104 at position 0

[BUG] Sync stopped at: 179785/212263

The sync process get stuck at 179785 and does not continue.

Expected behavior
It is expected, that the node get synced after a few hours / days but it doenst

Screenshots
grafik

Desktop (please complete the following information):

  • OS: Win 10 Pro

  • Fully deleted / uninstall + cleanup of ChainGreen, fresh and clean install - did not help

[BUG] Timelords overloaded because of extremelly fast network growth

Describe the bug
Because of the very fast network growth the difficulty is not adjusting as fast as it should be and the timelords are overloaded.

Proposed solution
Change the initial difficulty to match Chia initial difficulty and activate that rule on block 200000 via hard fork (potentially should happen in June 18).

Please vote using the ๐Ÿ‘ and ๐Ÿ‘Ž

[BUG] Problems with Chia nodes connecting to Chaingreen

Describe the bug
Chia nodes are connecting to chaingreen for a minute and then they get banned because the blocks doesn't match. However for a brief period of time it's not possible to mine.

To Reproduce
Steps to reproduce the behavior:

  1. Open Chia client
  2. Open Chaingreen clinet
  3. Wait random amount of time
  4. Observe that a machine from Chia has connected to a Chaingreen machine.

Expected behavior
Chia machines should be banned faster from chaingreen nodes and should not appear.

High CPU usage.[BUG]

Chia, Flax and Spare together they use less than half of what chaingreen alone.

chaingreen is using 20% above of CPU all time.

Windows 10 21H1
Intel Core i3-7100

[BUG] Chaingreen wallet show hangs indefinitely

Describe the bug
wallet show hangs indefinitely on version 1.2.1

To Reproduce
chaingreen start farmer chaingreen wallet show

Expected behavior
wallet showing balance

  • OS: LINUX
  • OS Version/Flavor: Ubuntu 20.04 Server LTS
  • CPU: Both on intel i7700 and Ryzen 3 2200G

Additional context
When aborting with CTRL+C gets the following error

Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 1388, in _shutdown
    lock.acquire()
KeyboardInterrupt: 

[BUG] connect to my wallet

Describe the bug
When i open the linux gui install by deb package. when i run the GUI, it always stay in connect to my wallet.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: linux
  • OS Version/Flavor: ubuntu 18.04
  • CPU:

Additional context
Add any other context about the problem here.

[BUG]how to build test client?

how to build test client?
i build client in testnet,but no GENESIS block,the height is always 0,what can i do produce 0 and 1 block?help me, thank you sir!

[BUG] What is going on with the difficulty? (1.2.0)

Was just doing some testing and getting a node synced, why is the difficulty so high?

Height: 219170
Estimated network space: 149.121 PiB
**Current difficulty: 879609302220800**
Current VDF sub_slot_iters: 78643200
Total iterations since the start of the blockchain: 94250333898

[BUG] Netspace showing vastly lower number than correct

Describe the bug
On installing 1.16 fresh, network is synced to latest block and up to date but showing netspace as 1.536mib only when current netspace is in pib

To Reproduce
Steps to reproduce the behavior:

Fresh install

Expected behavior
Expect netspace to show correct current network storage space

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10 x64
  • CPU: Intel Core i7 10700KF

[BUG]

Hello, the program stops farming and the following error appears in the log, can someone help me?

Captura de pantalla 2021-06-25 a las 10 55 46

[BUG] Cannot connect to host eu.introducer.chaingreen.org

Describe the bug
open the chaingreen gui, can not connect to any peer,
status: Not Synced

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'open chaingreen gui'
  2. Click on 'Full Node'
  3. Scroll down to 'Connections'
  4. See error "can not connect to any peer for more than 12hours"

Expected behavior
start Syncing

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • OS Version/Flavor: Windows 10 pro
  • CPU: Intel I9-10980XE

Additional context
debug.log:
2021-07-10T17:43:48.810 full_node full_node_server : INFO Cannot connect to host eu.introducer.chaingreen.org:8744 ssl:<ssl.SSLContext object at 0x0000019B0FF7C518> [Connect call failed ('68.183.242.118', 8744)]
2021-07-10T17:44:17.341 full_node full_node_server : INFO Cannot connect to host eu.introducer.chaingreen.org:8744 ssl:<ssl.SSLContext object at 0x0000019B0FF7C668> [Connect call failed ('68.183.242.118', 8744)]
2021-07-10T17:44:24.857 full_node chaingreen.full_node.full_node: INFO Received 1 peers from DNS seeder.
2021-07-10T17:44:27.643 full_node full_node_server : INFO Cannot connect to host eu.introducer.chaingreen.org:8744 ssl:<ssl.SSLContext object at 0x0000019B0FF60AC8> [An existing connection was forcibly closed by the remote host]
2021-07-10T17:44:56.185 full_node full_node_server : INFO Cannot connect to host eu.introducer.chaingreen.org:8744 ssl:<ssl.SSLContext object at 0x0000019B0FF60A58> [Connect call failed ('68.183.242.118', 8744)]
2021-07-10T17:45:03.669 full_node chaingreen.full_node.full_node: INFO Received 1 peers from DNS seeder.

[BUG] I do not receive a reward

Describe the bug

When Proofs found I do not receive a reward and see in debug.txt:

2021-06-15T15:37:53.472 full_node chaingreen.full_node.full_node: WARNING Did not find a previous block with the correct reward chain hash

or
2021-06-15T15:34:01.627 full_node chaingreen.full_node.full_node: WARNING Too many blocks added, not adding block
or
2021-06-15T15:45:05.022 full_node chaingreen.full_node.full_node: WARNING Wasn't able to add transaction with id 559472dd856de10960cfca866defbc582d711452bde1ac36ac404bb9178bb08b, status 3 error: Err.UNKNOWN_UNSPENT

  • OS: Win10
  • OS Version/Flavor: 20H2 19042.1052
  • CPU: Intel(R) Core(TM) i7-5700HQ

Periodic Syncing Issue

Describe the bug
Chaingreen client will go into a "Syncing but still Connected" mode for a few minutes, happens randomly and the block height it syncs to appears randomly. Lasts approximately 1-2 minutes before syncing back to normal.

To Reproduce
Steps to reproduce the behavior:

-Open Chaingreen client
-Wait random amount of time
-Observe that the client will go into Syncing mode with a block height far beyond the current block

Image of issue for clarification
syncingissue (2)

Expected Results
Sync should be complete and normally following the blockchain progress

Farming with Pooling plots

Right now I have quite a lot of TB created with the pooling protocol.

How is ChainGreen dealing with those plots?
Are they compatible with ChainGreen?
If not said anything, are we at least solo-plotting?

Is the NFT contract created in Chia compatible and red by ChainGreen? Or do we need another contract within ChainGreen?

[BUG]stopping services or restarting results in error on UPNP

Describe the bug
Restarting or stopping services result in an error but the services keeps running

To Reproduce
both

chaingreen start farmer -r
chaingreen stop all

will result in the error

Expected behavior
farmer restarts and services restarts without any problems

  • OS: Linux
  • OS Version/Flavor: Ubuntu Server 20.04 LTS
  • CPU: Ryzen 3 2200G

Additional context


chaingreen start farmer -r
chaingreen_harvester: Traceback (most recent call last):
  File "/home/user/chaingreen-blockchain/venv/bin/chaingreen_harvester", line 33, in <module>
    sys.exit(load_entry_point('chaingreen-blockchain', 'console_scripts', 'chaingreen_harvester')())
  File "/home/user/chaingreen-blockchain/chaingreen/server/start_harvester.py", line 53, in main
    return run_service(**kwargs)
  File "/home/user/chaingreen-blockchain/chaingreen/server/start_service.py", line 246, in run_service
    return asyncio.run(async_run_service(*args, **kwargs))
  File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/user/chaingreen-blockchain/chaingreen/server/start_service.py", line 240, in async_run_service
    return await service.run()
  File "/home/user/chaingreen-blockchain/chaingreen/server/start_service.py", line 163, in run
    await self.wait_closed()
  File "/home/user/chaingreen-blockchain/chaingreen/server/start_service.py", line 231, in wait_closed
    if self.upnp is not None:
AttributeError: 'Service' object has no attribute 'upnp'

[BUG] windows installer broken zip

windows installer - broken zip

Desktop (please complete the following information):

  • OS: [e.g. Linux]
  • OS Version/Flavor: [e.g. CentOS 7.2]
  • CPU: [e.g. Intel Xeon 8175M]

Additional context
Add any other context about the problem here.

unable to install gui on unbuntu server

received the following error when trying to install the gui on ubuntu server.

apt-get is /usr/bin/apt-get
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxss1 is already the newest version (1:1.2.3-1).
nodejs is already the newest version (10.19.0~dfsg-3ubuntu1).
npm is already the newest version (6.14.4+ds-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Installing on Ubuntu 20.04 LTS or newer: Using installed node.js version.
Running git submodule update --init --recursive.

Submodule 'chaingreen-blockchain-gui' ([email protected]:ChainGreenOrg/chaingreen-blockchain-gui.git) registered for path 'chaingreen-blockchain-gui'
Cloning into '/home/xxxxx/chaingreen-blockchain/chaingreen-blockchain-gui'...
Warning: Permanently added the RSA host key for IP address 'xxx.xx.xxx.x' to the list of known hosts.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:ChainGreenOrg/chaingreen-blockchain-gui.git' into submodule path '/home/xxxxx/chaingreen-blockchain/chaingreen-blockchain-gui' failed
Failed to clone 'chaingreen-blockchain-gui'. Retry scheduled
Cloning into '/home/xxxxxxxchaingreen-blockchain/chaingreen-blockchain-gui'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:ChainGreenOrg/chaingreen-blockchain-gui.git' into submodule path '/home/xxxxxxx/chaingreen-blockchain/chaingreen-blockchain-gui' failed
Failed to clone 'chaingreen-blockchain-gui' a second time, aborting

[BUG] Exception from 'wallet' {'error': "'>' not supported between instances of 'NoneType' and 'uint32'", 'success': False}

Describe the bug

$ chaingreen farm summary
Exception from 'wallet' {'error': "'>' not supported between instances of 'NoneType' and 'uint32'", 'success': False}
Farming status: Farming
Total chaingreen farmed: Unknown
User transaction fees: Unknown
Block rewards: Unknown
Last height farmed: Unknown
Plot count: 881
Total size of plots: 87.205 TiB
Estimated network space: 1.609 PiB
Expected time to win: 1 minute
Note: log into your key using 'chaingreen wallet show' to see rewards for each key

To Reproduce
Steps to reproduce the behavior:

I don't know...

Expected behavior
No exception and farming stats showed.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Linux]
  • OS Version/Flavor: [e.g. CentOS 7.2]
  • CPU: [e.g. Intel Xeon 8175M]

Additional context
Add any other context about the problem here.

Massive full_node_store in log

Analyzing the log of the last 60 minutes at different times of the day, I have noticed that chaingreen abuses the log full_node_store. Attached graphic summary of chia behavior and its main forks.

Can you explain why?
image

Miss

You haven't even updated the links in the readmes yet. Why not just wait for pooling and do it right

[BUG] High latency when fetching plots from an HDD

Describe the bug
It seems that some users are having an issue with higher than 5s latency on HDDs that store the plots.

To Reproduce
Steps to reproduce the behavior:

  1. Open both Chia and Chaingreen
  2. Start farming
  3. Observe the issue in the logs.

Expected behavior
This not to happen

Please use the following format for the comments about your system configs

Desktop (please complete the following information):

  • OS: [e.g. Linux]
  • OS Version/Flavor: [e.g. CentOS 7.2]
  • CPU: [e.g. Intel Xeon 8175M]
  • HDDs:
  • Number of plots
  • Connection to the plots

Additional context
Add any other context about the problem here.

[BUG] A lot failed connections to full nodes on port 8444

Describe the bug

2021-06-16T23:27:40.000 full_node full_node_server        : INFO     Cannot connect to host 79.151.190.220:8444 ssl:<ssl.SSLContext object at 0x7f19a1fb8ec0> [Connect call failed ('79.151.190.220', 8444)]
2021-06-16T23:27:43.181 full_node full_node_server        : INFO     -> handshake to peer 82.204.246.254 e981689bfb2da0184a2d5fefb23ec4c8598f0c9631dfaded860b7ca31dbba869
2021-06-16T23:27:43.237 full_node full_node_server        : INFO     Connected with full_node {'host': '82.204.246.254', 'port': 8444}
2021-06-16T23:27:43.238 full_node full_node_server        : INFO     -> new_peak to peer 82.204.246.254 e981689bfb2da0184a2d5fefb23ec4c8598f0c9631dfaded860b7ca31dbba869
2021-06-16T23:27:43.238 full_node full_node_server        : INFO     -> request_peers to peer 82.204.246.254 e981689bfb2da0184a2d5fefb23ec4c8598f0c9631dfaded860b7ca31dbba869
2021-06-16T23:27:43.239 full_node full_node_server        : INFO     Connection closed: 82.204.246.254, node id: e981689bfb2da0184a2d5fefb23ec4c8598f0c9631dfaded860b7ca31dbba869
2021-06-16T23:27:43.239 full_node chaingreen.full_node.full_node: INFO     peer disconnected {'host': '82.204.246.254', 'port': 8444}
2021-06-16T23:27:47.066 full_node full_node_server        : INFO     -> handshake to peer 49.0.71.1 027fd11177afddb767a65a27746d416df3a78d3b3ea833d6f5c84e9344bc3385
2021-06-16T23:27:47.268 full_node full_node_server        : INFO     Connected with full_node {'host': '49.0.71.1', 'port': 8444}
2021-06-16T23:27:47.268 full_node full_node_server        : INFO     -> new_peak to peer 49.0.71.1 027fd11177afddb767a65a27746d416df3a78d3b3ea833d6f5c84e9344bc3385
2021-06-16T23:27:47.269 full_node full_node_server        : INFO     -> request_peers to peer 49.0.71.1 027fd11177afddb767a65a27746d416df3a78d3b3ea833d6f5c84e9344bc3385
2021-06-16T23:27:47.270 full_node full_node_server        : INFO     Connection closed: 49.0.71.1, node id: 027fd11177afddb767a65a27746d416df3a78d3b3ea833d6f5c84e9344bc3385
2021-06-16T23:27:47.270 full_node chaingreen.full_node.full_node: INFO     peer disconnected {'host': '49.0.71.1', 'port': 8444}

To Reproduce
Steps to reproduce the behavior:

  1. Check the log: .chaingreen/mainnet/log/debug.log

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux
  • OS Version/Flavor: Ubuntu 20.04
  • CPU: Intel Xeon E3-1235L V3

Additional context
Add any other context about the problem here.

[BUG] Reward disappeared

I got a reward, it showed in wallet and changed the confirmed height on farming screen on my both PC and laptop. But then it just dissapeared from wallet, and the comfirmed height changed to the previous reward height, first on my PC and then on my laptop too.

upd: everything is synchronized.

OS: Win10
OS Version/Flavor: 21H1 19043.985
CPU: Intel(R) Core(TM) i7-10700k

[BUG] Error Message "> not supported between instance of NoneType and uint32"

Every few minutes the attached error message pops up

image

'>' not support between instance of 'NoneType' and 'uint32' It has an OK button on it, and hitting it will close the message.

It will keep popping up every few minutes and when unattended, their number appears to hang the GUI.
debug.log

To Reproduce
Steps to reproduce the behavior:

Connect to Chaingreen Blockchain
Wait
Not consistent error

Expected behavior
No error message

Desktop (please complete the following information):

Additional context
Add any other context about the problem here.

[BUG] Wallet height: 247520 Sync status: Not synced - Everything was fine then !!! Bam stuck wallet

Describe the bug
Wallet height: 247520
Sync status: Not synced

To Reproduce
Not sure how, nobody else is reporting.
I have deleted and recreated the /maininet/wallet/db many times, always stops at this height

Installed the chaingreen weeks ago, it was fine, and even found CGC coin. Then the mainnet database started getting corrupted, fixed that by running the blockchain in a sandbox, but then this stuck problem, wallet process seems to be cpu bound.

Expected behavior

Well expect it to work.

Screenshots
If applicable, add screenshots to help explain your problem.

Seems to be saying that 'peers' refuse to respond on post 247519, I'm running all the peers that I know of.

2021-07-01T16:31:13.505 full_node full_node_server : WARNING Trying to ban localhost for 10, but will not ban
2021-07-01T16:31:13.505 full_node full_node_server : INFO Connection closed: 127.0.0.1, node id: 44f55daf76217f68c577e5c8bdafb0b49d5e34e724a83e427a0ba00858da46fa
2021-07-01T16:31:13.505 full_node chaingreen.full_node.full_node: INFO peer disconnected {'host': '127.0.0.1', 'port': 8749}
2021-07-01T16:31:13.505 wallet wallet_server : INFO Connection closed: 127.0.0.1, node id: eaca68048f18e2db1ab3ebfe4c6c300163fd7514995d5941d93d70a4012e7844
2021-07-01T16:31:13.506 wallet chaingreen.wallet.wallet_node: ERROR Error while trying to fetch from peer:Peer returned no response Traceback (most recent call last):
File "/media/master/SSD-Temp/Green-VM/chaingreen-blockchain/chaingreen/wallet/wallet_node.py", line 599, in _sync
peer, uint32(start_height), uint32(end_height), None if advanced_peak else fork_height
File "/media/master/SSD-Temp/Green-VM/chaingreen-blockchain/chaingreen/wallet/wallet_node.py", line 637, in fetch_blocks_and_validate
raise ValueError("Peer returned no response")
ValueError: Peer returned no response

2021-07-01T16:31:13.506 wallet chaingreen.wallet.wallet_node: ERROR Loop exception in sync Was not able to add blocks 247519-247551. Traceback (most recent call last):
File "/media/master/SSD-Temp/Green-VM/chaingreen-blockchain/chaingreen/wallet/wallet_node.py", line 511, in sync_job
await self._sync()
File "/media/master/SSD-Temp/Green-VM/chaingreen-blockchain/chaingreen/wallet/wallet_node.py", line 608, in _sync
raise RuntimeError(f"Was not able to add blocks {start_height}-{end_height}")
RuntimeError: Was not able to add blocks 247519-247551

2021-07-01T16:31:13.506 wallet chaingreen.wallet.wallet_node: INFO Loop end in sync job
2021-07-01T16:31:13.507 wallet chaingreen.wallet.wallet_node: INFO Loop start in sync job
2021-07-01T16:31:13.902 wallet chaingreen.wallet.wallet_node: INFO self.sync_event.set()
2021-07-01T16:31:13.902 wallet chaingreen.wallet.wallet_node: INFO self.sync_event.set()
2021-07-01T16:31:13.902 wallet chaingreen.wallet.wallet_node: INFO Have collected 17 potential peaks
2021-07-01T16:31:13.902 wallet chaingreen.wallet.wallet_node: INFO No peers to sync to
2021-07-01T16:31:13.902 wallet chaingreen.wallet.wallet_node: INFO Loop end in sync job
2021-07-01T16:31:13.903 wallet chaingreen.wallet.wallet_node: INFO Loop start in sync job

Desktop (please complete the following information):

  • OS: [e.g. Linux]
  • OS Version/Flavor: [e.g. CentOS 7.2]
  • CPU: [e.g. Intel Xeon 8175M]

Additional context
Add any other context about the problem here.

[BUG] - Webpage design

Describe the bug
Webpage design

To Reproduce
Open the site and look at it

Expected behavior
Tasteful design

Additional context
Need professional work. Write me [email protected] to fix it for free.

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.