Switch branches/tags
Clone or download
Pull request Compare This branch is 1375 commits ahead, 1160 commits behind PIVX-Project:master.
Permalink
Failed to load latest commit information.
.github Add GitHub issue template Apr 22, 2017
build-aux/m4 merge Dec 11, 2017
contrib Merge pull request #87 from BlocknetDX/contributors Jan 22, 2018
depends merge Dec 11, 2017
doc Renamed BlocknetDX Core to Blocknet May 31, 2018
qa Update docs and contributors Jan 20, 2018
share Update docs and contributors Jan 20, 2018
src Fixed utxo locking on orders Oct 10, 2018
.dockerignore Support qt builds with docker Mar 14, 2018
.gitattributes Separate protocol versioning from clientversion Oct 29, 2014
.gitignore Fix price precision for dxGetOrderHistory Sep 29, 2018
.gitlab-ci.yml Gitlab integration for Windows and Linux Aug 29, 2018
.travis.yml Set CHECK_DOC=0 in arm Sep 25, 2018
CONTRIBUTING.md Renamed BlocknetDX Core to Blocknet May 31, 2018
COPYING Update docs and contributors Jan 20, 2018
Dockerfile Renamed BlocknetDX Core to Blocknet May 31, 2018
Dockerfile-trusty Gitlab integration for Windows and Linux Aug 29, 2018
Dockerfile-win Gitlab integration for Windows and Linux Aug 29, 2018
Doxyfile make path to the source relative Dec 19, 2017
INSTALL init commit Jul 20, 2017
LICENSE LIcense update Sep 17, 2017
Makefile.am init commit Jul 20, 2017
README.md removed "- Supports Fast Transactions w/ SwiftTX" May 10, 2018
autogen.sh Bugfix: Replace bashisms with standard sh to fix build on non-BASH sy… Oct 3, 2014
blocknetdx-qt.pro xservices refactored Sep 13, 2018
config.orig.pri qtcr .pro file, config demo Jul 26, 2017
configure.ac 3.10.5 Sep 25, 2018
pkg.m4 autotools: switch to autotools buildsystem Sep 6, 2013

README.md

Welcome to the Blocknet repository. Despite the repository name, this repo is for the Blocknet protocol. The repository for Block DX can be found here.

Join the community on Discord.

Blocknet

Started in 2014, Blocknet is a decentralized, community-governed, self-funded, open-source project that serves as a connector between different blockchains, markets, and communities.

The Blocknet Protocol

The Blocknet protocol enables decentralized communication and exchange between different blockchains in a permissionless and trustless manner through the use of P2P atomic swaps using BIP65 and a DHT overlay network(Service Nodes).

Block DX

Block DX is a completely decentralized and trustless exchange built on the Blocknet protocol that mimics a centralized exchange experience and enables traders to conduct exchanges directly from the wallets of the coins being traded. View Repo: [https://github.com/BlocknetDX/blockdx-ui]

Contributors are welcome!

Blocknet Specifications:

  • Block Time: 1 Minute
  • Algo: Quark
  • Difficulty: Adjusted Per Block
  • Block Reward: 1.0 BLOCK (30% to stakers, 70% to Service Nodes)
  • Service Node Requirement: 5000 BLOCK
  • Staking Requirement: No Minimum
  • Governance: Decentralized Voting/Funding With Superblocks

Decentralized Atomic Swap Algo Summary

Initiator creates secret X, and hashes it to create H(X). Initiator also creates public private key pair (pubkey i1,i2 / privkey i2,i2). Responder creates public private key pair (pubkey r1,r2 / privkey r1,r2).

Step 2.
Initiator shares H(X) and pubkey i2 with responder. Responder shares pubkey r1 with intiator.

Step 3.
Initiator creates TxAb. TxAb can be redeemed after time T2 with privkey i1. At any time TxAb can redeemed with signature from privkey r1 and reveal of secret X. Initiator broadcasts TxAb onto the network.

Step 4.
Responder confirms TxAb. Responder creates TxBb. TxBb can be redeemed after T1 time with privkey r2. At any time TxBb can be redeemed with signature fom privkey i2 and reveal of secret X. Responder broadcasts TxBb onto the network.

Step 5.
Initiator creates TxBp which spends TxBb using privkey i2 and secret X. With the revealed secret, responder can create TxAp which spends TxAb with privkey r1 and secret X.

LICENSE

The MIT License (MIT)

Copyright (c) 2014-2018 The Blocknet Developers, see LICENSE for additional detail.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.