Cryptocurrency News, Digital Asset Research and Blockchain Features

HYCON Code Review: SPECTRE Consensus Algorithm

DAG project that intends to speed up confirmation times and remove latency.

1,399

HYCON is building the Infinity Platform, simple enough for anyone to build their own customized blockchain, guess I’ll be out of a job.

A lot of focus here on accountability and transparency, security, things that DAGs are ostensibly good at.

“HYCON, which stands for Hyperconnected Coin, is the digital asset built on top of a faster and more scalable blockchain developed by the Infinity Project team. Using a DAG (Directed Acyclic Graph) structure, it has the capability to publish several blocks simultaneously with the ability to resolve conflicting transactions and reject double-spends through the SPECTRE consensus algorithm.”

I’ve been interested in exploring DAG solutions lately, they promise horizontal scalability, but often neglect to mention finality.

Whitepaper is pretty thin, let’s head over to the code.

 

 

Typescript. Interesting choice. Apparently Javascript is the choice for DAG developers.

 

 

Cryptonight hashing Proof-of-work.

 

 

Protobuff.

 

 

Main has standard command line arguments;

 

 

./server is our entry point.

 

 

Ledger support.

 

 

Reminder to go look at their private key generation.

 

 

BIP key generation 101.

 

 

Secp256k1

 

 

Wallets are AES password encrypted on the local drive.

 

 

Good code structure and layout, easy to follow.

Jumping back to ./server

 

 

WorldState, Consensus, RabbitNetwork, MinerServer, RestManager. Let’s hunt them down.

 

 

Longest Chain rule. Bit disappointing.

 

 

Levelup.


HYCON Code Review Conclusion:

Just another DAG. Code is fine, but not great or interesting. Good design from an architectural point of view, but it won’t achieve horizontal scalability since it still has the finality bottleneck. The greater the network, the longer the propagation ,and thus the more generation rounds required to reach finality.

All the 101 components are here though, so it is a DAG, it just doesn’t do much other than that.


 

You can chat about HYCON in our Telegram group.

Disclaimer: Crypto Briefing code reviews are performed by auditing what is on display in the master branch of the repo’s made available. This was performed as an educational review and any comments in the article are the opinion of the writer. It is normal for code to change rapidly, hence we timestamp our code reviews so that they present a snapshot at a moment in time. Information contained herein should not be used as any comment or advice on the project as a whole.

HYCON Code Review Timestamp: July 31st 2018

 

News, And Only When It's NEWS
Sign up for our editor's picks, crypto trade updates, and DARE reports!
You can unsubscribe at any time, and we NEVER sell your info.

Leave A Reply

Your email address will not be published.

3 Comments
  1. nassim bouslama says

    Hi,
    I just wanted to impose in this, I am pretty sure you are not aware of the road map also the changes that will be made to the code it self with new protocol implementations, almost every big blockchain undergoes huge upgrades, Hycon only launched 2 months ago.

    1. Andrew F. says

      Hi,
      I think that this guy who reviews does the review during ICO stage which I think is significantly important for any company who is trying to raise millions of dollars. I personally do not think he is trying to convince anybody that the code is worthless and will never get finished. But show and educate people who do not understand code that this is where their investment is going. Any company that tries to raise public funds in my opinion should 100% prove that their idea and company is legit otherwise you have a space full of scams. So if this company hasnt proven anything then I would stay clear. In 1 year it could be a different story.

  2. James Langport says

    Hycon does not have finality. You didn’t read the code.

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More

X
X