Bitcoin Forum
August 08, 2024, 05:30:59 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 »  All
  Print  
Author Topic: [ANN][XPU] The first stateless sharded blockchain | Instant Sync | PoW | CPU/GPU  (Read 2554 times)
octavonce (OP)
Newbie
*
Offline Offline

Activity: 135
Merit: 0


View Profile
October 13, 2022, 05:06:09 PM
Last edit: June 13, 2023, 05:43:17 PM by octavonce
 #1

Purplecoin: The first stateless sharded cryptocurrency and blockchain
With the advent of Bitcoin, decentralised ledgers have sprung into existence. While revolutionary for its time, Bitcoin could not satisfy the needs of the masses due to its inability to scale to global needs. No other blockchain protocol has managed to achieve this, at least not without sacrificing the one thing that made Bitcoin as powerful as it is: being tamper-proof, even against state actors. We believe we have managed to achieve what Bitcoin couldn't. We will now present the first stateless cryptocurrency.

What is a stateless Blockchain/Ledger/Cryptocurrency?
To put it simply, a stateless blockchain allows full-nodes to validate transactions without storing past blocks or unspent transaction outputs. This is done by employing an incredible cryptographic construct known as a cryptographic accumulator. While Bitcoin can theoretically scale by increasing the block size, it would eliminate the ability of regular folks to run a node. This improvement basically allows big blocks sizes while still allowing regular folks to run a node. This also means several things:

  • The initial sync to the network is more or less instant, regardless of the chain size. Further syncs are an order of magnitude faster, taking possibly seconds at most. We still have to test this but it seems really fast.
  • Transaction validation first and foremost becomes more efficient because we don't need to search the disk for UTXOs as we only check the accumulator, which lives in memory. Memory is orders of magnitude faster than disk, which is the main bottleneck in Bitcoin.
  • Users are responsible for storing their own UTXOs in their wallet. Besides these, a full validating node can run while storing only a few kilobytes of data. This means a full-node does not in fact need a disk to run at all.

Scalability through sharded Proof of Work
There are 16 chains, called sector chains, each representing a group of 16 shards, with a total of 256 shards. Each shard is an independent blockchain and can be processed separately along with the respective sector chain. Transactions are only possible within the same shard. The XPU token is mined therefore on different, independently running chains. As such the tps is equal to the sum of the tps of all chains. Our calculations at a block size of 380kb resulted in 14222 transactions per second assuming they are simple transfers and not complex transactions. As Purplecoin is stateless, the storage size of full-nodes doesn't increase and only relevant assets are kept.

More details about the consensus algorithm: https://github.com/purpleprotocol/purplecoin/blob/main/doc/consensus.md

Mining algorithm which consumes 50% less energy
We are using the Green PoW consensus model which elapses in epochs. Each epoch has 2 rounds. In the first round, every miner participates and has the potential to mine a block. The miner who finds the solution in the first round is not entitled to participate in the second round. Then, the rest of the miners continue mining the block in the first round. When at least 15 miners manage to mine the block, the second round begins. These miners are called runner-ups. Only runner-ups are entitled to mine the block in the second round. Once one of the runner-ups mines the second round block, the next epoch begins. This mechanism brings energy efficiency to mining (up to 50% compared to if it wasn't employed) and secures shard sectors against 51% attacks. More details around this can be found in the Whitepaper.

Now, every epoch will use a different algorithm. Half of the epochs will be mined exclusively with GhostRider, in order to prevent ASICs from mining a longer chain while allowing CPU/GPU mining. The other half of the epochs will be mined with an ASIC friendly algorithm, chosen randomly every epoch. This is in order to balance GhostRider, as fully ASIC resistant algorithms are subject to hashpower marketplace attacks, while ASIC algorithms are less likely to be subject to these attacks.

Example:
  • Epoch 1: GhostRider
  • Epoch 2: Sha256
  • Epoch 3: GhostRider
  • Epoch 4: Fugue

The following are the current proposed ASIC friendly algorithms:
  • Blake2s256
  • Blake2b512
  • Sha256
  • Keccak256
  • JH
  • Fugue

Find out more about mining: https://github.com/purpleprotocol/purplecoin/blob/main/doc/mining.md

Tokenomics and crowdsale
Find more info here:

Crowdsale info: https://github.com/purpleprotocol/purplecoin/blob/main/doc/crowdsale.md
Tokenomics: https://github.com/purpleprotocol/purplecoin/blob/main/doc/tokenomics.md

Links
r_victory
Sr. Member
****
Offline Offline

Activity: 1955
Merit: 381


English<->Pt-BR - Professional Translations(90+)


View Profile WWW
October 13, 2022, 05:29:53 PM
 #2

14222 transactions per second, that's more than half of VISA's TPS. Has this been tested and confirmed? Or is it just a prediction of what might be?

Translations from English to Portuguese at affordable prices. Send me a PM here on the forum or contact me via Telegram: @cryptoheart
octavonce (OP)
Newbie
*
Offline Offline

Activity: 135
Merit: 0


View Profile
October 13, 2022, 05:44:15 PM
 #3

14222 transactions per second, that's more than half of VISA's TPS. Has this been tested and confirmed? Or is it just a prediction of what might be?

It is based on the calculations we have on the chosen parameters such as block size and shard numbers. We have indeed tested the architecture, but not on a live network. While the number can vary as custom transactions can be bigger, it gives a rough estimate when the bulk of transactions are the default format, which from what we can see with other networks seems to be the case 98% of the time.

Block size is actually smaller than Bitcoin, at 750kb. Sharding multiplies that by the number of shards which stands at 256. Nodes can listen to all shards or individual shards, depending on bandwidth. A full-node is also able to run as a cluster, with individual nodes listening to individual shards, this is useful for archival nodes, being able to scale bandwidth and storage. SPV nodes are able to sync all shards a few times per day, without requiring to download the whole backlog of transactions.
octavonce (OP)
Newbie
*
Offline Offline

Activity: 135
Merit: 0


View Profile
October 15, 2022, 07:49:10 PM
 #4

Update: Thanks to @noventrun#2672 from our Discord channel, we have chosen to change Whirlpool and Groestl to Fugue and JH as the former are vulnerable to Rebound attacks.
octavonce (OP)
Newbie
*
Offline Offline

Activity: 135
Merit: 0


View Profile
December 13, 2022, 12:31:31 PM
 #5

Update: I have just published the source code along with the technical roadmap. As such, the project is officially open to external contributors.

These can both be found on our Github page:
yydnyjg
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 13, 2022, 04:03:42 PM
 #6

CryptoNight should not be forgotten Smiley
BoozyTalking
Newbie
*
Offline Offline

Activity: 315
Merit: 0


View Profile
December 14, 2022, 01:05:46 PM
 #7

When we can mine it?
symplink
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
December 14, 2022, 09:42:36 PM
 #8

Yes, Criptonight could be a good solution, too
octavonce (OP)
Newbie
*
Offline Offline

Activity: 135
Merit: 0


View Profile
December 15, 2022, 04:24:52 PM
 #9

When we can mine it?

We are still pre-testnet at this point. Mining will be first available on the testnet and on the mainnet once we release.
chpendi
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
December 16, 2022, 08:24:26 AM
 #10

can you please explain how to compile to test
chpendi
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
December 16, 2022, 08:38:55 AM
 #11

or a link to...how to build.
story that this kind of "paranormal and extraterrestrial" thing is open to everyone, even to beginners... thank you.


I feel like I'm trying to decipher Egyptian hieroglyphics... Huh Shocked Grin Grin
octavonce (OP)
Newbie
*
Offline Offline

Activity: 135
Merit: 0


View Profile
December 16, 2022, 06:38:22 PM
 #12

can you please explain how to compile to test

You need nightly Rust installed and clang/llvm on linux and on Windows this has to be compiled with msys.

or a link to...how to build.
story that this kind of "paranormal and extraterrestrial" thing is open to everyone, even to beginners... thank you.


I feel like I'm trying to decipher Egyptian hieroglyphics... Huh Shocked Grin Grin

We will post a guide soon with detailed instructions.
janwarming
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
December 19, 2022, 11:04:37 PM
 #13

Looks very promising. When will it be ready for mining?
octavonce (OP)
Newbie
*
Offline Offline

Activity: 135
Merit: 0


View Profile
December 20, 2022, 03:30:38 PM
 #14

Looks very promising. When will it be ready for mining?

We are still pre-testnet at this point. Mining will be first available on the testnet and once we are confident in the security and performance of the network, we will release the mainnet.
octavonce (OP)
Newbie
*
Offline Offline

Activity: 135
Merit: 0


View Profile
December 30, 2022, 04:52:20 PM
 #15

Update: I have just posted a document detailing the tokenomics of Purplecoin: https://github.com/purpleprotocol/purplecoin/blob/main/doc/tokenomics.md
octavonce (OP)
Newbie
*
Offline Offline

Activity: 135
Merit: 0


View Profile
December 31, 2022, 02:11:09 PM
 #16

As we have been getting a lot of questions about our choice of tokenomics, which is dependant on Purplecoin's architecture. I have posted two other documents detailing the consensus mechanism and mining procedure. This should bring more understanding both to how Purplecoin works and our choice of tokenomics:
* Mining: https://github.com/purpleprotocol/purplecoin/blob/main/doc/mining.md
* Consensus: https://github.com/purpleprotocol/purplecoin/blob/main/doc/consensus.md
octavonce (OP)
Newbie
*
Offline Offline

Activity: 135
Merit: 0


View Profile
January 12, 2023, 07:39:16 PM
 #17

Just published another doc with information about our state model and more explanations on what a stateless blockchain is: https://github.com/purpleprotocol/purplecoin/blob/main/doc/state.md
octavonce (OP)
Newbie
*
Offline Offline

Activity: 135
Merit: 0


View Profile
January 24, 2023, 12:59:29 AM
 #18

We have been working hard for the past weeks to get the crowdsale website up and running and we would like to announce that the Purplecoin crowdsale officially starts now. In order to participate, visit one of the following links:
* Sale website: https://sale.purplecoin.io/
* Sale details: https://github.com/purpleprotocol/purplecoin/blob/main/doc/crowdsale.md
* Sale Agreement: https://purplecoin.io/tsa
octavonce (OP)
Newbie
*
Offline Offline

Activity: 135
Merit: 0


View Profile
January 26, 2023, 08:08:23 PM
 #19

Pink-coin-style guys  Shocked

I've never heard of Pink-coin
wam_fr
Newbie
*
Offline Offline

Activity: 5
Merit: 2


View Profile
January 27, 2023, 06:47:04 AM
 #20

Pink-coin-style guys  Shocked

Definitely not the pink coin team.
But I said the same on their discord -> they have to rebrand now.
Pages: [1] 2 3 4 5 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!