Giter Site home page Giter Site logo

mattf42 / pepe-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from avgttt/pepe-core

12.0 12.0 9.0 33.66 MB

PePe-Core Rebooted in July/August 2023

License: MIT License

Shell 0.32% C++ 50.63% Python 6.72% C 38.02% Java 0.02% CSS 1.38% Objective-C++ 0.07% Makefile 0.89% HTML 0.46% QMake 0.02% M4 1.44% Roff 0.03%

pepe-core's People

Contributors

avgttt avatar edisontw avatar hiq9iqd avatar mattf42 avatar realsetvin avatar salfaihani avatar xiaolin1579 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pepe-core's Issues

Solo mined coins not shown anywhere

Today about 3:22 (0 gmt) +-1m solo block was mined, core wallet showed a notification with right label and 5000 coins, also a ccminer had a green Yes!
But in a wallet no sign of new coins, no new transaction, balance unchanged, getbalance show same,
2. Address used for solo has no records on explorer.
3. Orphans blocks from explorer happened at different time.
4. Wallet launched with -rescan, but seems do not even work.

No IPv6 Seeding Information

All seeds are currently IPv4 meaning pure IPv6 nodes will not be able to connect without an addnode.
Same presumably true for pure onion nodes if there is such an animal.

SPORK_8 doesn't do what it should do

So prior to 2.3.1.2 we had
"SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT": true,

I disabled it in 2.3.1.2 because:

If an incorrect blocks get generated without the masternode payment enforcement in place, the network SHOULD reject these and orphan, them, but it doesn't.

What actually seems to happen is that the voting MNs self partition off with an invalid chain. The correctly reject the block as per

if(sporkManager.IsSporkActive(SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT)) {
LogPrintf("IsBlockPayeeValid -- ERROR: Invalid masternode payment detected at height %d: %s", nBlockHeight, txNew.ToString());
return false;
}

But then spiral off into a death spiral of InvalidChainFound, Invalid masternode payment detected and fairly quickly stop syncing.

I think this happens because only the voting MNs participate in in the IsTransactionValid() / IsBlockPayeeValid() checks, but honestly I'm rather out of my depth here.....

So, we shouldn't get MNs sulking and stopping getting paid (hurrah) - but we CAN have invalid blocks (with not MN reward) which the network will not correctly reject :(

Can someone please take a look and work out how we can re-enable SPORK8 without causing MN breakage?

Block 483396 was an example of such a block:

~/bin/PEPEPOW-cli getrawtransaction a133ae7f74523db8cd389196f8eb6480990a233eff694b96b44cf7db5fedb6f7 1
{
"hex": "02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff1f0344600704b896ff64088100d3b9030304027a657267706f6f6c2e636f6d00000000000100a89c13460200001976a9140ddc16715823d16442abc7bf0538c2cd46ea2c1988ac00000000",
"txid": "a133ae7f74523db8cd389196f8eb6480990a233eff694b96b44cf7db5fedb6f7",
"size": 116,
"version": 2,
"locktime": 0,
"vin": [
{
"coinbase": "0344600704b896ff64088100d3b9030304027a657267706f6f6c2e636f6d00",
"sequence": 0
}
],
"vout": [
{
"value": 25000.00000000,
"valueSat": 2500000000000,
"n": 0,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 0ddc16715823d16442abc7bf0538c2cd46ea2c19 OP_EQUALVERIFY OP_CHECKSIG",
"hex": "76a9140ddc16715823d16442abc7bf0538c2cd46ea2c1988ac",
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"P9rTbRfgkXLmvquRHRKY5Nq7ewA1bFoUZv"
]
}
}
],
"blockhash": "00000000001ccca9511293f1cd73be38089b36b6e6b5a74c9a8709e92d220559",
"height": 483396,
"confirmations": 36166,
"time": 1694471865,
"blocktime": 1694471865
}

Building from source on ubuntu 20

After building from source I attempt to run the QT file and encounter this issue

The X11 connection broke: Maximum allowed requested length exceeded (code 4)
XIO: fatal IO error 22 (Invalid argument) on X server ":0"
after 403 requests (403 known processed) with 0 events remaining.
when I attempt to run the QT

Found another issue referencing this
bitcoin/bitcoin#18537

Fails to build on Debian12

Known issue.

Ubuntu 18.04 is the current build platform of choice for X64 Linux binaries.
Ubuntu 22.04 seems to work best for cross-compiling the Windows binaries.

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.