Nxt Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client 1.11.4 - NEW RELEASE: Ardor 2.0.2e TestNet IS LAUNCHED!

Pages: [1] 2  All

Author Topic: Ardor vs Nxt functional comparison  (Read 2684 times)

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1580
    • View Profile
  • Karma: +796/-81
Ardor vs Nxt functional comparison
January 28, 2017, 09:37:00 am

This is a comparison of major functionality differences between Nxt and Ardor. It will be updated regularly, and should be useful for those deciding which platform to use, or preparing to switch from Nxt to Ardor.

FunctionalityNxtArdor
BlockchainsSingle chainOne parent chain with multiple child chains
Transaction tokensThe same token (NXT) is used for establishing the consensus and providing the security of the blockchain, as well as for the basic unit of value in all transactionsOnly the parent chain token (ARDR) is used in the proof-of-stake consensus, and thus provides security for all child chains. Child chain tokens are used as transactional units of value only.
Transaction feesTransaction fees are paid in NXT only, requiring users to always have NXT in their accounts.On each chain transaction fees are paid in the native token (coin) of that chain. End users do not need to own ARDR tokens.
FeaturesAsset Exchange, Monetary System, Aliases, Messaging, Digital Goods Store, Voting System, Shuffling, Data Cloud, Phasing, Account Control, Account PropertiesAll these features are preserved in Ardor, and are available on each child chain. A child chain can optionally be restricted not to enable some features. The parent chain supports a limited subset of features, as it is intended to be used for consensus establishing only and not for everyday transactions.
AccountsEach passphrase maps to a single account. Passphrases can't be changed, and there is no wallet file to store.The same mapping of passphrases to account numbers is used as in Nxt. Accounts are global across all child chains, and an account can have balances in each of the existing child chain coins, as well as in ARDR.
HoldingsThere is a single coin (NXT), and unlimited user-issued Assets and Monetary System currencies.Each chain has its own coin. Assets and MS currencies can be issued on any child chain, and are available for trading globally. Assets or MS currencies can optionally be restricted* to some child chains only.
TradingAssets and MS currencies can be traded for NXT only.Assets and MS currencies can be traded on any child chain, with price denominated in the corresponding child chain coin.
Coin ExchangeN/AA new feature, Coin Exchange, allows trading of child chain coins to each other, and also to the parent chain coin (ARDR).
DividendsAsset dividends can be paid in NXT only.Asset dividends can be paid in any of the child chain coins, by simply issuing the payment transaction on the corresponding chain. Additionally, paying dividends in another Asset or in MS currency has been implemented.
CrowdfundingCrowdfunding feature is available in the Monetary System, but the funds must be collected in NXT only.Crowdfunding feature is available on all child chains, and on each child chain the funds are collected in the corresponding child chain coin.
ShufflingShuffling of NXT, Assets, and MS currencies is available.On each child chain, shuffling of the corresponding coin, or any Asset or MS Currency, is supported.
AliasesAlias names are globally unique.Alias names are unique within each child chain only.
MS CurrenciesCurrency codes and names are globally unique.Currency codes and names are unique within a child chain only.
PruningPruning is available for plain and encrypted messages, and for tagged data (data cloud feature). Pruned data are retrieved automatically on demand from designated archival nodes.Pruning and retrieving of all prunable data is available as in Nxt. In addition, the child chain transactions themselves are designed to be prunable and will not need to be stored permanently or re-downloaded by every new node. The actual pruning of transactions will be implemented later.*
Transaction identifiersTransaction IDs are 64-bit longs, and are globally unique.The 64-bit transaction IDs are no longer guaranteed to be globally unique for child chains. 256-bit transaction hashes (sha256 digests) are used instead as transaction identifiers.
Block generationA "forging" process is used to create new blocks, with the probability of block creation dependent on the account NXT balance (stake).The same forging algorithm is used as in Nxt, dependent on ARDR account balances only.
BundlingN/AA new process, "bundling", is used to group child chain transactions into a parent chain transaction ("child chain block"), which is then included in the parent chain. Any account can play the role of a bundler. The bundling process also performs the exchange of fees paid by users in child chain tokens into ARDR fees accepted by the block forgers.
PhasingTransaction execution can be made conditional, subject to approval using various voting models.Same voting models as in Nxt, but phasing is possible on child chains only. Approval transactions can be on a different child chain from the phased transaction, and the by-transaction voting model also supports linking to a transaction hash on a different child chain.
Account controlAccounts can be restricted to use phasing only (mandatory approval).Same as in Nxt, but accounts under phasing-only restriction cannot submit transactions on the parent chain, as those cannot be phased.
Peer networkingHTTP based, also with WebSocket support, transmitting JSON formatted data between peers.Completely re-written and optimized, using native Java sockets and binary messages between peers. Block and transaction propagation has been significantly improved, by exchanging and caching information about currently available blocks and transactions between peers and only propagating the missing data pieces.
APIHTTP query APIs, returning JSON formatted response.Mostly unchanged, except:
1. A "chain" parameter has been added to each API that is child chain specific.
2. 64-bit long transaction IDs have been replaced with 256-bit hashes.
3. All prices and rates that were previously defined relative to the smallest indivisible holding amount ("QNT") are now defined relative to a unit of the holding (share).
ScalabilityTransactions are stored in the blockchain permanently, and need to be re-downloaded and re-processed by every new node, which after months and years of operation becomes a significant bottleneck.All child chain transactions will be possible to prune completely, without affecting blockchain security, thus allowing the blockchain size to be kept much smaller. A new node joining the network only needs to download the parent chain transactions, followed by the latest snapshot of the current system state.*

* Functionallity marked with asterisk is planned to be implemented in a future Ardor release. All other functionallity is already implemented and currently being tested on a testnet blockchain.
« Last Edit: January 28, 2017, 07:19:06 pm by Jean-Luc »
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

wolffang

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 633
    • View Profile
  • Karma: +83/-5
Re: Ardor vs Nxt functional comparison
January 28, 2017, 10:00:55 am

This is really helpful, Thanks alot!

rubenaco

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 974
  • I'm here and you?
    • View Profile
  • Karma: +152/-2
Re: Ardor vs Nxt functional comparison
January 28, 2017, 10:18:02 am

This is really helpful, Thanks alot!
yes! thanks for it

aajajim

  • Newbie
  • *
  • Offline Offline
  • Posts: 6
    • View Profile
  • Karma: +1/-0
Re: Ardor vs Nxt functional comparison
January 28, 2017, 10:22:37 am

Thank you very much for the post. It really makes ideas clearer  :)

Brangdon

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1216
  • Quality is addictive.
    • View Profile
  • Karma: +203/-25
Re: Ardor vs Nxt functional comparison
January 28, 2017, 11:14:47 am

Thanks for that.

Does "using native Java sockets and binary messages between peers" mean that non-Java implementations will be significantly harder? Or would the meaning remain if the word "Java" was replaced by "network" or dropped entirely?

I'm a bit disappointed that pruning of child chains is not yet implemented, because it is a core component of scalability, but I understand it makes sense to get what you have working out into the public for testing and using. What you do have implemented is already a significant step up from Nxt.
NXT-RTYD-LJXQ-EPNJ-H7AQ5. Sponsoring 1 public node at brangdon.duckdns.org.

starik69

  • Full Member
  • ***
  • Offline Offline
  • Posts: 197
    • View Profile
  • Karma: +10/-15
Re: Ardor vs Nxt functional comparison
January 28, 2017, 12:05:55 pm



FunctionalityNxtArdor
AliasesAlias names are globally unique.Alias names are unique within each child chain only.


Will current NXT aliases be transferred to Ardor (or Ignis) or all aliases in ARDOR must be registered from zero? ???
NXT-R2U6-22MC-LQL2-22222 (648774468) - NXT | All versions of NXT client and more - https://mega.co.nz/#F!J1xmgAyC!cnaqdxHALLMGiS0hTPrhAg

marenkar

  • Global Moderator
  • Full Member
  • *****
  • Offline Offline
  • Posts: 124
  • GPG: B8A2 40BB F1BF B92C 4B65 11CA 04FF E97B DE52
    • View Profile
    • TravinKeith.com
  • Karma: +53/-0
Re: Ardor vs Nxt functional comparison
January 28, 2017, 12:13:58 pm

Thanks Jean-Luc. Great overview.

I posted this table on Reddit as well. If you have an account on Reddit, please upvote it - https://www.reddit.com/r/Ardor/comments/5qn7kc/ardor_vs_nxt_functionality_comparison/




FunctionalityNxtArdor
AliasesAlias names are globally unique.Alias names are unique within each child chain only.


Will current NXT aliases be transferred to Ardor (or Ignis) or all aliases in ARDOR must be registered from zero? ???

It will be copied to the Ignis chain as well, I think, but added with .ignis at the end.

CryptKeeper

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1228
    • View Profile
  • Karma: +73/-5
Re: Ardor vs Nxt functional comparison
January 28, 2017, 02:21:13 pm

Jean-Luc, thanks for this valuable information! Very clear and precise.

I have a question: is it possible to create a child chain with compliance by opting out of the shuffling feature?
Follow me on twitter for the latest news on bitcoin and altcoins!
Vanity Accounts Sale :-)

blackyblack1

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1618
    • View Profile
  • Karma: +162/-82
Re: Ardor vs Nxt functional comparison
January 28, 2017, 02:28:44 pm

Alias names are unique within each child chain only.
This is not very convinient. When sharing the alias the childchain prefix will be required to distinguish between them. Global aliases are easier to share and it would be possible to migrate existing aliases to Ardor.

ScripterRon

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 455
    • View Profile
  • Karma: +72/-2
Re: Ardor vs Nxt functional comparison
January 28, 2017, 03:03:00 pm

Does "using native Java sockets and binary messages between peers" mean that non-Java implementations will be significantly harder? Or would the meaning remain if the word "Java" was replaced by "network" or dropped entirely?
'Native java sockets' means using network sockets instead of going through Jetty.  JSON messages consist of printable strings while binary messages consist of the just the data bytes.  It should make non-Java implementations easier since the HTTP/Websocket layer is removed and JSON string parsing is eliminated.
NXT-XM86-4ZNA-65L5-CDWUE

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1580
    • View Profile
  • Karma: +796/-81
Re: Ardor vs Nxt functional comparison
January 28, 2017, 03:46:44 pm

I'm a bit disappointed that pruning of child chains is not yet implemented, because it is a core component of scalability, but I understand it makes sense to get what you have working out into the public for testing and using.

It is according to the roadmap: https://nxt.org/nxt-2-0-overview/
Quote
A. First, a system consisting of the forging chain and a few hardcoded child chains will be created. Each child chain will be using its own native token, and child chain transactions will be bundled in ChildChainBlock transactions on the forging chain. However, while future pruning of those transactions will be possible, it will not yet be implemented, and as the system is just starting and total transaction count will be low, pruning will not yet be needed. Snapshot calculation and propagation will also not yet be implemented. Since there is no pruning, all nodes will store all child chain data in this phase.

Once testnet is out and initial bugfixing is done, we will focus on the work on pruning and snapshot propagation. We must be confident that the current 2.0 implementation will allow pruning to be enabled without restarting the blockchain, before main net is launched, and a few months after that pruning and snapshots download should also be ready.
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1580
    • View Profile
  • Karma: +796/-81
Re: Ardor vs Nxt functional comparison
January 28, 2017, 04:18:52 pm

I have a question: is it possible to create a child chain with compliance by opting out of the shuffling feature?
Yes, it is possible to disable specific transaction types like ShufflingCreate. A user could still exchange this chain coins to another holding, shuffle it on another chain and exchange back, to prevent even that you would need to disable all AE/MS/CE trading transactions too.
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

CryptKeeper

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1228
    • View Profile
  • Karma: +73/-5
Re: Ardor vs Nxt functional comparison
January 28, 2017, 05:34:54 pm

Great, thanks!
Follow me on twitter for the latest news on bitcoin and altcoins!
Vanity Accounts Sale :-)

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1580
    • View Profile
  • Karma: +796/-81
Re: Ardor vs Nxt functional comparison
January 28, 2017, 07:19:51 pm

Added entries on phasing and account control.
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

marenkar

  • Global Moderator
  • Full Member
  • *****
  • Offline Offline
  • Posts: 124
  • GPG: B8A2 40BB F1BF B92C 4B65 11CA 04FF E97B DE52
    • View Profile
    • TravinKeith.com
  • Karma: +53/-0
Re: Ardor vs Nxt functional comparison
January 28, 2017, 09:06:43 pm

Alias names are unique within each child chain only.
This is not very convinient. When sharing the alias the childchain prefix will be required to distinguish between them. Global aliases are easier to share and it would be possible to migrate existing aliases to Ardor.

It's going to be a suffix, not a prefix. I think existing aliases will be copied to the Ignis child chain though.

It may not be convenient, but it's much better utility-wise for child chain creators in my opinion. They'll know that the names that they want can be used because they each get a fresh list. Would be good for aliases that point to a webpage related to that child chain as well as for monitoring purposes if the child chain is used for tracking.

titan20

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 18
    • View Profile
  • Karma: +1/-0
Re: Ardor vs Nxt functional comparison
January 28, 2017, 10:02:26 pm

i do not follow the developments on a regular basis, but i am confused.

1. Do ARDR and Nxt share the same network or are we supposed to install a new wallet to use ARDR when the mainnet goes live?

2. Does it mean that nxt is going to fased out if ARDR is a different network?

3. Are assets on the nxt asset exchange going to be migrated to ARDR network?

4. ARDR is an asset on the nxt asset exchange. So if you would like to sell your ARDR to btc. You have to sell the ARDR for nxt and then exchange the nxt to btc. Does the succes of ARDR asset not put downward pressure on BTC price of NXT?

a lot of questions but i hope someone can answer them. Thanks in advance

rubenaco

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 974
  • I'm here and you?
    • View Profile
  • Karma: +152/-2
Re: Ardor vs Nxt functional comparison
January 28, 2017, 10:04:31 pm

(In my profile, click where you read FAQ)

titan20

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 18
    • View Profile
  • Karma: +1/-0
Re: Ardor vs Nxt functional comparison
January 28, 2017, 10:32:46 pm

(In my profile, click where you read FAQ)

Thanks i read the FAQ. But still have some questions.

Can IGNIS tokens be traded directly to BTC. Or do you have to exchange them to ARDR first and then exchange to btc?

rubenaco

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 974
  • I'm here and you?
    • View Profile
  • Karma: +152/-2
Re: Ardor vs Nxt functional comparison
January 28, 2017, 10:41:52 pm

Take a look: https://nxter.org/nxt-news-january-2017-iii-the-question-isnt-who-is-going-to-let-me-its-who-is-going-to-stop-me/#Ardor_coin_exchange

Assets can be traded globaly so if someone create a childchain based on BTC, yes, its possible :) If not (that I doubt) you will have to use a traditional centralized exchange just as you would now

Enviado desde mi Redmi Note 3 mediante Tapatalk

asfd

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 88
    • View Profile
  • Karma: +17/-0
Re: Ardor vs Nxt functional comparison
January 29, 2017, 11:43:44 am

How many txs is going to be able to process one single chilchain? For example, the BTC childchain?
Pages: [1] 2  All