Showing posts with label Cryptocurrency. Show all posts
Showing posts with label Cryptocurrency. Show all posts

Tuesday, April 28, 2015

Honoring Contracts with the Blockchain

Emergence of Smart Contracts
contracts.jpg
Contracts erect the framework of partnerships. Clearly established expectations and goals drive plans into completion. Trust is established by a legal obligation to perform the duties and responsibilities outlined in the contract. Decentralized networks are trustless and could create new forms of contracts. Oracles are programs that verify specific inputs are entered and validated before releasing pre agreed outputs. These outputs could be a payment for a service, a release of funds, or the outputs could create new contracts. Bitcoin can create distributed contracts via the blockchain. In a separate blog I wrote about a decentralized job board, LivelyGig, that could monetize individual tasks for outsourcing. This is a separate contract agreement for micro tasks that stays within LivelyGig’s network.

An oracle is only a script, a function awaiting desired inputs. The only limitations of a contract are the constraints outlined in the agreement. A smart contract uses the outline of the agreement to contain releasing an output (payment) until a certain prerequisite has been met. When prerequisites are met in a smart contract, finalizing payment is only delayed by human interaction. The owner of the private key withholding payment in a smart contract must have no interest in the contract for the agreement to be completely trustless. This is the opportunity for new services offering oracle smart contracts to emerge. A company, SmartContract, emerged late last year and are one of the first to offer smart contracts.

You are the district manager for a regional business branch. You have received word that servers are down across your district and a technician must be dispatched to repair the network immediately. Your servers are located off site and in a remote part of the district and it would be impractical to send an employee to troubleshoot. A solution could be formed by using micro task payment channels and oracle contracts provided by decentralized services. Combining the automatized payment of oracle created contracts, with a payment system for micro tasks and you have a new system for sending contractors to remote sites to fix equipment. The contract would await specific inputs before providing payment. A GPS location can provide an input that the contractor arrived on site. An additional input can be created once a specific metric is reached (operational performance being restored). After the job is complete the output (payment) can be sent to the person who completed the contract with no additional involvement from the district manager required.

smart_poperty.png

This example is not too far fetched and is a practical application for a service that does not quite have a large market at this time. Oracles have an autonomized payout by verifying inputs from each party. The service that creates the oracle will need a private key to verify that the transaction inputs are The oracle in the previous scenario can be set to pay out once connection can be reestablished with a specific server.

Saturday, April 25, 2015

Trustless Decentralized Connections

Mesh Networks and Monetizing Unused Bandwidth

Cantenna-peebles-small.jpg

“We are thinking, what is the future of communication.”

This is one of the key phrases that came from Google’s Fi announcement this week. Big names in western technology are now exploring a communication concept already in use in other parts of the world. Mesh Networks are a primary means of connecting communities to give internet access over a large distance in the developing world. Wireless Mesh Networks allow communication by using radio redistribution points to gain access to the internet. A user will connect between nodes to gain access to the internet. This method uses a series of routers to create a wireless network that can reach over long distances by bouncing data from one node to the other. Established mesh networks can provide fast connectivity with dedicated nodes to boost signal strength or perform routing. Mesh networks are managed in a centralized or decentralized fashion. Centralized servers can be created or the network can be self sustaining in a decentralized manner. In a more decentralized mesh network, as one node becomes unavailable, the network protocol searches for the next available node to transmit to. This is a very cost effective method for creating network infrastructure as there is no single point of failure and it is rather inexpensive to create.

The reliability of mesh networks is creating communities with internet access they could not afford or were not able to previously. Political or geographic constraints are now eliminated with the establishment of a wireless mesh network. Many developing nations do not have the resources to build large scale infrastructure projects. In South Africa, mesh networks are growing in size and are creating new advancements in the technology. A small level of technical knowledge can now give internet access to any sized community. This network lead to efficient sharing between users and created a new marketplace with a bit of ingenuity. This ingenuity is what sparked the creation of a bitcoin company in Santa Cruz with a unique solution for unused bandwidth.

BitMesh


Lp8dbeVL.png

BitMesh has recently created interest as one of the first companies to use bitcoin to sell unused bandwidth. Creating a market selling unused bandwidth reliability and security will take time, but the implications are what excites observers. While away from your home network, you could lease your unused bandwidth and receive bitcoin for acting as a node for someone purchasing your bandwidth. BitMesh has a development phase before a full public release. Security will be the most important factor when creating a decentralized network of any kind. Bitcoin is the vehicle for services like mesh networks that want to create microtransactions that could not be done with traditional forms of payment. Micropayments using bitcoin take advantage of no transfer fees and are leading to the creation of other product markets. An example is the emergence of IoT products.

Creating a safe market built from mesh networks will be challenging. Articles have been published covering the challenges with creating a monetized internet access market with bitcoin. The most common concerns were creating secure networks, protection from false nodes, and participation. Many people already have home networks and may not require additional connectivity. With the announcement of the Google Fi service this week, there is validation that there is a market for retroactive internet connectivity. Mesh networks are designed to be as dynamic as it's users wish to be. Mesh networks providing internet services will be drastically different than BitMesh's service that offers micropayments for unused bandwidth. Technology firms are only beginning to explore this new level of connectivity. These types of communities could become more common in more developed nations once the technology to create these dynamic networks becomes more readily available.

Tuesday, April 21, 2015

Critiques of Blockchain Technology


Critical Assessments of Bitcoin
147860345-100253080-primary.idge.jpg

Bitcoin and blockchain technology have their fair share of critics and controversial topics. These topics frequently appear during conversations about Bitcoin. Knowledgable and influential figureheads from varying backgrounds have differing opinions about Bitcoin. Figureheads such as Warren Buffett and Bill Gates share a hesitant stance on the technology until more research have been gathered on various cryptocurrency nuances. Developers and executives of bitcoin companies give answers to common concerns and criticisms of bitcoin in various forms of media. A critical view on new technological services improve the overall health of the network. These responses are available from various public discussions in internet forums, video streams of panel discussions, or even skype conferences. A glimpse below gives a better understanding of various bitcoin and blockchain functionality from the leading influencers in their respective business sectors.


Price Volatility


“Bitcoin is an exciting new technology. For our Foundation work we are doing digital currency to help the poor get banking services. We don't use bitcoin specifically for two reasons. One is that the poor shouldn't have a currency whose value goes up and down a lot compared to their local currency. Second is that if a mistake is made in who you pay then you need to be able to reverse it so anonymity wouldn't work. Overall financial transactions will get cheaper using the work we do and Bitcoin related approaches.” - Bill Gates Source



Bill Gates gave this statement during a Q&A session he did on reddit a few months ago. This is commonly heard around discussions of creating infrastructure for future bitcoin products and future investments in bitcoin or other cryptocurrency. A common issue with volatility is who takes on the risk when the price adjusts unexpectedly. The price of Bitcoin has fallen to nearly a fourth of it’s peak price two years ago. There are a few bitcoin companies that are offering FDIC type security for holding bitcoin. Coinbase and Gemini (the Winklevoss Twins new venture) are the first wave of bitcoin companies that are offering FDIC type insurances for their customers. An alternative outlook of bitcoins changing prices is the growth bitcoin experienced prior to the fall in price. Bitcoin rose from a few dollars in value to over a thousand in a few short years. This high demonstrated volatility is a risk if someone is relying on Bitcoin as a sole investment or payment method. The value of bitcoin is not solely dependent on its use as an investment property.


Lack of Regulation Concerns



“Mt Gox happened a few years back, where a lot of people had virtual currency that they thought was safe. I think the bill is partly a response to things like that.” - Spokesperson for the Chairman of California’s Banking and Finance Committee
From California Regulation Discussions and New York State’s BitLicense Proposal


Licensing, regulation creation, and drafting other federal documents are proving challenging for many regulators. Scandals that have rocked the bitcoin space have left many with no choice but to hold an iron grip on allowing bitcoin businesses to develop. The bitcoin protocol has no central authority. There are active developers, contributors, and players in various domains, but no group controls the outcome of how bitcoin performs. Bitcoin works on a constant validation system. When new features are introduced to Bitcoin Core, they are rolled in in small phases, and no one is obligated to upgrade to the last version. Once a version is used by a majority of blocks, it is then considered a ‘main’ feature. The blockchain is a decentralized ledger that all bitcoin transactions are recorded to. This ledger is accessible to anyone and transactions are immutable.

There is no blacklist of ‘bad’ bitcoin and alternatively there is no whitelist of ‘good’ bitcoin. Bitcoin’s can be traced by outputs from wallets to an origin destination. If an individual wanted to reject a specific set of bitcoin, they have the ability to. This doesn’t affect anyone in the bitcoin network except the specific individual who is restricting the amount of bitcoin they are willing to accept. Creating a black or white list of bitcoin is generally seen as a negative idea. Once someone creates a list, it will need to be updated. Various versions of the list will become dispersed, and consumers will have a very difficult time validating their version of the blacklist because there is no central authority in the bitcoin protocol. A lot of responsibility when using bitcoin falls on the user to protect their own funds which is a deviation from the traditional banking framework.

Wednesday, April 15, 2015

Properties of Bitcoin


Collecting firewood in


2.5 Billion people are without a traditional banking system. The rise of bitcoin in the last few years have started conversations about what constitutes a valid currency and how new currencies create value. Bitcoin is a useful form of money that can be exchanged regardless of the origin of the participants involved in the transaction. The characteristics of money are defined by scarcity, divisibility, portability, durability, fungibility, and recognizability. Bitcoin meets the requirements to be considered a viable form of money. As no central authority owns the bitcoin protocol, a transaction can be recorded on the blockchain that ties ownership of a good to the owner of those bitcoin. This creates a new value creation tool for goods that previously were not able to be traded outside of a regional market.


The properties of bitcoin are defined by mathematics, rather than value based on material goods or issue by a central authority. The value created by these algorithms  molds a currency that only relies on trust and the level of adoption. The adoption of bitcoin is measured by the frequency of users, merchants, or other parties exchanging the currency and the level of acceptance. An increase in the frequency of bitcoins exchanged does affect the price.


Bitcoin’s price is created by supply and demand. As demand for bitcoin fluctuates, the price will also change. When demand for bitcoin decreases, so does the price. There will only ever be 21 million bitcoins created. This creates a predictable rate of how many bitcoins will enter the market and inflation can be predicted if demand does not match the level of inflation. If the level of demand does not match the changing level of inflation, the price will fluctuate. Bitcoin’s overall market share is relatively small, and because of this small pool of currency, the price can become volatile when significant amounts of money are exchanged.

File:Hadrian Denarius.jpg


If bitcoin as a currency does not reach a high level of adoption, it can still hold value. Romans used the silver denarius as a means of exchanging currency and the coins still hold value today even though the coins are no longer in circulation. As long as there are people using bitcoin they will hold value. The usefulness of bitcoin boils down to trusting the reliability of the decentralized ledger and using bitcoins that are validated and recorded on the blockchain. Transactions being recorded on the blockchain, verified, and posted are referred to as blocks. It takes approximately ten minutes to solve, or validate, a block. There is an analogy I enjoy using from a talk Andreas Antonopoulos gave at MIT that describes the adjusting difficulty of validating a bitcoin transaction.



The analogy begins by describing a room with 50 people, each with their own Sudoku puzzle. The amount of rows and columns have been calculated to have the Sudoku solved in approximately 10 minutes. A reward is posted for the first person to solve the puzzle at 25 bitcoin. As the timer begins people have started to walk towards the front of the room to have their puzzle solution validated as correct. After 9 minutes of continuous attempts someone shares the correct solution, and is paid 25 bitcoin. The next round begins and someone solves the puzzle in 8 minutes. The puzzle is made more difficult as rounds are being solved faster than ten minutes. More rows and columns are added to the puzzle to adjust the time taken to solve the puzzle on average. After a few more rounds, a large crowd enters the room and now 500 people are attempting to solve a puzzle in 10 minutes. More rows and columns are added to the puzzle to adjust for the number of new players. The players are randomly guessing and checking their answers until the correct answer is discovered. That random element is also used in the bitcoin protocol as cryptographic nonces assign values to each transaction so it can be verified.

Test (assessment)



These basics give an overview of the technical complexity of bitcoin. Financial inclusion will increase for unbanked individuals as more consumers begin to use bitcoin and adoption increases. The ability to increase financial inclusion without the risk of fraud, laundering, or other negative financial disruption is unique feature that bitcoin offers. Economic uses of bitcoin are just the tip of the iceberg for the usefulness of the technology. Read other posts on the sidebar or an expanded look at how blockchain technology is affecting other industries.

Monday, March 30, 2015

Internet of Things on a Blockchain Network

The Blockchain meets Internet of Everything Technology
Internet-of-Things.jpg


The Internet of Things (IoT) is a realm of technology that has yet to find a defined market. An IoT application offers the ability for devices to communicate between devices for a specific purpose. Usually this communication is limited to a specific device set and are designed to be autonomous. The 2015 Texas Bitcoin Conference unveiled a list of new emerging decentralized IoT applications from their hackathon last Saturday.



IoT applications have yet to capture a large audience because the advantage of connected devices is difficult communicate to the average consumer. Samsung and IBM have recently collaborated together to create future IoT products using blockchain technology. This partnership will work together on IBM’s ADEPT (Autonomous Decentralized Peer-to-Peer Telemetry) concept that melds BitTorrent’s file sharing protocol, Bitcoin currency, Etherium, and peer-to-peer communication protocol Rehash. IBM has acknowledged the following hurdles with adopting IoT Technology:



  • Functional Value
  • Privacy
  • Anonymity
  • Cost effective
  • Outdated Business Models




Blockchain’s decentralized ledger brings the IoT model into a new threshold. As the device is created it can be recorded into the blockchain and referenced at any point during the life of the product. A sidechain can be created to manage Internet of Things applications. Sidechains have the ability to operate with larger blocks then the Bitcoin blockchain and even shorter transaction validation times. Sidechain transactions can still be validated on Bitcoin's blockchain through an initial block recording on the blockchain before transferring to an altcoin sidechain. This method maintains the validity of recorded transactions on the sidechain Transaction inputs are validated on sidechains through this decentralized system. When IoT transactions are confirmed, a driver can be dispatched (Uber), or a bed can be reserved (AirBnB) after the transaction is recorded.


This is unuseful to a majority of consumers. There has been adoption of the internet in everyday consumer devices such as cars in the past but have been only designed around increased sales and not usability. IBM suggests that the future of IoT could be in improving the user experience with IoT products. The car could operate with live updates about road conditions or traffic outlooks for your prefered routes. Currently, accessing services through IoT applications are made easier through “Click to Link your Social Media Profile” prompts. These easy-of-use applications make revenue through selling consumer information and IBM believes that this is not a sustainable business trend.


Another current issue for IoT adoption stems from compatibility. Devices created five to ten years ago are not guaranteed to interact with newer devices. Technology is evolving too quickly for past generation devices to continue to work for longer than a decade. Connecting devices to the internet to interact between each one another digitally removes the compatibility issues between devices. LivelyGig is one of the Texas Bitcoin Conference applications to propose a blockchain solution for IoT technology.


LivelyGig - Github
LivelyGigFigure1.png
Captured from Figure 1 of LivelyGig's Whitepaper


LivelyGig is offering an IoT employment services portal to connect skilled workers to employers through smart contracts. This is a new business avenue as it removes a traditional intermediary service by connecting the contractor to the client without friction. Individual skill portals such as Assembly.com, or Freelancer.com offer pay-per-content business models, but there has yet to be a decentralized platform for these type of business exchanges. Headhunters and agencies normally pool talented freelance workers together to provide managers the skills needed for various projects. The demand however is based on the prices negotiated by the intermediary and the contracting firm. Prices can be competitive and the benchmark for services will be consensus driven. Creating decentralized job services that can be posted on a sidechain creates a usable recall list for qualified individuals with no need for an intermediary.

Full-time, part-time, freelance and micro-tasks can be tasked without friction or delay of an intermediary. If a prospective job seeker does not meet the specifications of the posted transaction on the sidechain, the transaction requirements will not be met and the contract will not be validated or initiated. LivelyGig hopes to partner with current job portal services to transform the job offering business landscape.

Imagine a mainframe that can only be maintained by a handful of individuals and they are spread out across the country. The firm or the manufacturer that is leasing the mainframe can create parameters that will be monitored for the life of the product. As the mainframe continues to run, a vital problem occurs and the mainframe experiences a critical failure. IBM will be able to create a process for when the mainframe fails, to post a specific freelance request on LivelyGig almost instantly. A qualified individual with the correct inputs can request to complete the job and ‘sign’ the contract posting and immediately depart to the site where the mainframe is located.

There is not enough reliable information about Neural or BitWave to write about those applications at this time, but a further look into similar services can give a view through the looking glass. As IoT technology moves forward, better use cases and design structures can emerge. The creation of autonomous interconnected systems can create new interactions with devices that have yet to be envisioned. Keep a close watch on emerging blockchain technology and it’s usefulness with IoT interactions.

Tuesday, March 17, 2015

Data Storage with Blockchain Technology

Storage Capabilities of Cryptographic Networks

Blockchain Cloud Storage



Distributed cloud storage is not a new service that was created by the emergence of Bitcoin. Cryptography is used today by large cloud storage firms to secure data, but the network structure of these firms is different then Bitcoin cloud services. Data is stored remotely on servers owned and maintained by a company offering storage services. The core difference offered by a Bitcoin cloud service is the blockchain ledger that records Data Inputs and Outputs. Data shards are audited while accessed, automatized when indexing, monitored by decentralized consensus, and secured by using cryptography.

Storj - Website


Decentralized autonomous organizations (DAO) offer new avenues to store data digitally. DAOs use a consensus protocol, built into bitcoin transactions, to grant access to data stored with their service. Storj encrypts portions of a file into the leased hard drive space of miners. Those encrypted portions of files are defined as shards and stored in the leased hard disk space. A shard is typically 8-32 MB in size, and may be further modified depending on outside file-sharing auditing requirements. A 32 MB shard does not necessarily mean that all 32MB are the contents of one file. Shards can be combined to create more fluid data flow of specific client information. Majority consensus of the network will allow the data to be recalled if the correct keys are presented. Consensus of the network is accomplished by Proof-of-Storage and Proof-of-Redundancy.

Visualizing storing data on Storj (Whitepaper)

Proof-of-Storage Consensus

Merkle Roots are recorded on transactions (See Below)
To create a trust-less data storage network, Storj uses Proof-of-Storage versus Proof-of-Work that is common in solving Bitcoin algorithms. Proof-of-Storage provides reliability that the data was not tampered with while being stored. Data shards are formed into Hash Challenges, a Merkle Tree is created and the Merkle Root is recorded on the Blockchain. These hashes act as the Heartbeat when providing proof of ownership. A miner that is using space for data storage is given a Merkle Tree without it's leaves. When the shard a miner's seed contains is referenced, the hash answers on the miner's Merkle Tree are verified before data is transferred.
Hash 01 and Hash 23 are "hearthbeats"
The client divides the file into individual hash challenges. The added values of each hash must match the unique hash answers in each Merkle Tree. The client periodically reissues seeds to farmers to verify that shards have not been altered. If a client alters a portion of their data, a different hash answer will be generated and that seed will not produce the correct hash answer. Storj uses predetermined heartbeat combinations that provide access to the contents of the Merkle Tree.

Proof-of-Redundancy

Information transcribed inside a Transaction
Cloud Storage companies today lease space on their servers using RAID schemes to protect from network or physical failure. Storj uses redundant storage of shards to provide the correct shards if multiple nodes are offline. Shards are stored on various nodes connected to each file, each shard contains different values for each hash. Storing files on a blockchain allows a user to compare contents of a file between to frames of time. Small meta-data is inserted into a blockchain transaction which can be referenced for external auditing purposes. This redundancy, provided by K-of-M erasure coding, compares the total # of shards contained in a file to the # of shards recorded when the file was input into a transaction.

Users can determine how many farmers they wish to share shards between. A farmer in this network is a user that has leased disk space to store shards. Farmers are paid in SJCX cryptocurrency on Storj's network. SJCX does not have the same value as a Bitcoin but SJCX values are broadcast on Bitcoin exchanges. Farmers are allowed to price the disk space that they provide, at a competitive rate compared to other farmers on the network. Less important data can be shared between 3-4 farmers at low cost. More important data can be secured with hundreds of farmers each with competitive storage and processing capabilities.

Cleversafe - Website

Compare Storj to other encryption dispersed storage models and research how nodes are validated to see the transparency decentralized ledgers provide. Cleversafe offers All or Nothing (AONT) encryption which enables the entire file to be accessed once a node threshold is met. This is the same erasure code that is used to grant access to Storj files that are separated and encrypted. The difference is the integrity of each node is dependent solely on Cleversafe’s algorithm. Blockchain node integrity is transparent, broadcast on the blockchain and is paired with a network consensus which removes central authoritative controls.


The usefulness of encrypted cloud storage offerings are dependent on the information stored. Smart Contracts and negotiations of those contracts are a future feature of the Storj network. Alternatives to conventional practices will spur innovation in both sectors. For more information on Bitcoin companies and blockchain topics, check out the more articles from previous topics on the Navigation Bar.


Friday, March 13, 2015

"Who controls Bitcoin?"

Adopting Features on the Bitcoin Protocol
businessman-puppet-100253327-primary.idge.jpg

Last weekend at the MIT Bitcoin Expo, Gavin Andresen, a lead Bitcoin Developer, was asked, “Who controls Bitcoin?” This question stems from misinformation. Power distribution is a feature embedded in Bitcoin. Features are established by a majority consensus and not by a administrative group. Interaction with digital currencies or exchanges with real currency is a legitimate concern for anyone monitoring the features of blockchain technology. Bitcoin features are a collaboration of core developers and community members. Decisions about new features are established through economic majority.


Mining Rewards Incentivize an Economic Majority

Risk of cartels or other market barriers develop if firms gain large percentages of market power. Completing transactions and the number of hash computations that can be completed is what judges power on blockchain technology. A Hashrate is a unit of measurement that measures how many pairs of SHA-256 calculations can be done in a second.  Peak Network Hash Rates have reached speeds up to 391 Phash/s or 391 quadrillion hashes per second. Bitcoin Mining Farms are expanding hashrate baselines with every new product line. A majority of hashing power can be produced by one mining group, but they still would not be able to control changes to the Bitcoin Protocol.
The Man Behind the Bitcoin
If a large mining firm attempts to implement a harmful change that could create a barrier to enter the mining market, that branches mining rewards become compromised. The coins mined can be sold on an open exchange but markets accepting Bitcoins can choose any branch (sidechain) they wish to accept. This is a transparent element of Bitcoin that keeps new features beneficial for all users and miners. A trust-less consensus is only achieved because of the transparent nature of decentralized ledgers that are the backbone of blockchain technology.


Bitcoin Development

If a change is large in scale or potentially disruptive, the change is broadcast to the mailing list


Bitcoin is OpenSource and is not a centralized technology. Bitcoin Core Features are collected in various developer forums. GitHub credits 284 registered contributors to Bitcoin Protocol. Contributors do not control the complete development of Bitcoin protocol with live updates or patch cycles. Development of features is independent of the main blockchain, and each developer makes changes on their own branch before submitting revisions. If a developer wants to make a small change, one of the Bitcoin development team members researches the developer’s request via a pull request. The process of how developers submit changes to be tested is streamlined for developers. Bounties can be offered when arranging features to test.



Common Bitcoin Development forums:


The Core Developers of Bitcoin Protocol (Bitcoin.org):
  • Gavin Andresen (Core Dev Team Future Outlook)
    • Email: gavinandresen@gmail.com
  • Wladimir J. van der Laan
    • Email: laanwj@gmail.com
  • Pieter Wuille
    • Email: pieter.wuille@gmail.com
  • Jeff Garzik
    • Email: jgarzik@bitpay.com
  • Gregory Maxwell
    • Email: greg@xiph.org

Bitcoin Improvement Proposals


BIP_Workflow.png


Features that follow an adequate development phase are filtered into Bitcoin Improvement Proposals. Bitcoin development has no formal structure for exchanging ideas so Proposals were created to better suit formulating improvements. Features are labeled with a corresponding number for easy referencing. BIPs are organized into: Standard Track BIPs, Informational BIPs and Process BIPs.




The elevated adoption of Bitcoin Improvement Proposals are measured by the economic acceptance level of the Bitcoin community. The Bitcoin community, in this sense, is anyone who offers things of value in Bitcoin. That value could translated to goods, services, or other currencies. A majority consensus in a blockchain environment is different than a traditional 51/49 margin.