submitted by j0j0r0 to ethereum [link] [comments]
Dragonchain Public Proposal TL;DR:Dragonchain has demonstrated twice Reddit’s entire total daily volume (votes, comments, and posts per Reddit 2019 Year in Review) in a 24-hour demo on an operational network. Every single transaction on Dragonchain is decentralized immediately through 5 levels of Dragon Net, and then secured with combined proof on Bitcoin, Ethereum, Ethereum Classic, and Binance Chain, via Interchain. At the time, in January 2020, the entire cost of the demo was approximately $25K on a single system (transaction fees locked at $0.0001/txn). With current fees (lowest fee $0.0000025/txn), this would cost as little as $625.
Watch Joe walk through the entire proposal and answer questions on YouTube.
This proposal is also available on the Dragonchain blog.
Hello Reddit and Ethereum community!I’m Joe Roets, Founder & CEO of Dragonchain. When the team and I first heard about The Great Reddit Scaling Bake-Off we were intrigued. We believe we have the solutions Reddit seeks for its community points system and we have them at scale.
For your consideration, we have submitted our proposal below. The team at Dragonchain and I welcome and look forward to your technical questions, philosophical feedback, and fair criticism, to build a scaling solution for Reddit that will empower its users. Because our architecture is unlike other blockchain platforms out there today, we expect to receive many questions while people try to grasp our project. I will answer all questions here in this thread on Reddit, and I've answered some questions in the stream on YouTube.
We have seen good discussions so far in the competition. We hope that Reddit’s scaling solution will emerge from The Great Reddit Scaling Bake-Off and that Reddit will have great success with the implementation.
Executive summaryDragonchain is a robust open source hybrid blockchain platform that has proven to withstand the passing of time since our inception in 2014. We have continued to evolve to harness the scalability of private nodes, yet take full advantage of the security of public decentralized networks, like Ethereum. We have a live, operational, and fully functional Interchain network integrating Bitcoin, Ethereum, Ethereum Classic, and ~700 independent Dragonchain nodes. Every transaction is secured to Ethereum, Bitcoin, and Ethereum Classic. Transactions are immediately usable on chain, and the first decentralization is seen within 20 seconds on Dragon Net. Security increases further to public networks ETH, BTC, and ETC within 10 minutes to 2 hours. Smart contracts can be written in any executable language, offering full freedom to existing developers. We invite any developer to watch the demo, play with our SDK’s, review open source code, and to help us move forward. Dragonchain specializes in scalable loyalty & rewards solutions and has built a decentralized social network on chain, with very affordable transaction costs. This experience can be combined with the insights Reddit and the Ethereum community have gained in the past couple of months to roll out the solution at a rapid pace.
Response and PoCIn The Great Reddit Scaling Bake-Off post, Reddit has asked for a series of demonstrations, requirements, and other considerations. In this section, we will attempt to answer all of these requests.
A live proof of concept showing hundreds of thousands of transactionsOn Jan 7, 2020, Dragonchain hosted a 24-hour live demonstration during which a quarter of a billion (250 million+) transactions executed fully on an operational network. Every single transaction on Dragonchain is decentralized immediately through 5 levels of Dragon Net, and then secured with combined proof on Bitcoin, Ethereum, Ethereum Classic, and Binance Chain, via Interchain. This means that every single transaction is secured by, and traceable to these networks. An attack on this system would require a simultaneous attack on all of the Interchained networks.
24 hours in 4 minutes (YouTube):
24 hours in 4 minutes
The demonstration was of a single business system, and any user is able to scale this further, by running multiple systems simultaneously. Our goals for the event were to demonstrate a consistent capacity greater than that of Visa over an extended time period.
Tooling to reproduce our demo is available here:
Source code (for on & off-chain components as well tooling used for the PoC). The source code does not have to be shared publicly, but if Reddit decides to use a particular solution it will need to be shared with Reddit at some point.
How it works & scales
Architectural ScalingDragonchain’s architecture attacks the scalability issue from multiple angles. Dragonchain is a hybrid blockchain platform, wherein every transaction is protected on a business node to the requirements of that business or purpose. A business node may be held completely private or may be exposed or replicated to any level of exposure desired.
Every node has its own blockchain and is independently scalable. Dragonchain established Context Based Verification as its consensus model. Every transaction is immediately usable on a trust basis, and in time is provable to an increasing level of decentralized consensus. A transaction will have a level of decentralization to independently owned and deployed Dragonchain nodes (~700 nodes) within seconds, and full decentralization to BTC and ETH within minutes or hours. Level 5 nodes (Interchain nodes) function to secure all transactions to public or otherwise external chains such as Bitcoin and Ethereum. These nodes scale the system by aggregating multiple blocks into a single Interchain transaction on a cadence. This timing is configurable based upon average fees for each respective chain. For detailed information about Dragonchain’s architecture, and Context Based Verification, please refer to the Dragonchain Architecture Document.
Economic ScalingAn interesting feature of Dragonchain’s network consensus is its economics and scarcity model. Since Dragon Net nodes (L2-L4) are independent staking nodes, deployment to cloud platforms would allow any of these nodes to scale to take on a large percentage of the verification work. This is great for scalability, but not good for the economy, because there is no scarcity, and pricing would develop a downward spiral and result in fewer verification nodes. For this reason, Dragonchain uses TIME as scarcity.
TIME is calculated as the number of Dragons held, multiplied by the number of days held. TIME influences the user’s access to features within the Dragonchain ecosystem. It takes into account both the Dragon balance and length of time each Dragon is held. TIME is staked by users against every verification node and dictates how much of the transaction fees are awarded to each participating node for every block.
TIME also dictates the transaction fee itself for the business node. TIME is staked against a business node to set a deterministic transaction fee level (see transaction fee table below in Cost section). This is very interesting in a discussion about scaling because it guarantees independence for business implementation. No matter how much traffic appears on the entire network, a business is guaranteed to not see an increased transaction fee rate.
Scaled DeploymentDragonchain uses Docker and Kubernetes to allow the use of best practices traditional system scaling. Dragonchain offers managed nodes with an easy to use web based console interface. The user may also deploy a Dragonchain node within their own datacenter or favorite cloud platform. Users have deployed Dragonchain nodes on-prem on Amazon AWS, Google Cloud, MS Azure, and other hosting platforms around the world. Any executable code, anything you can write, can be written into a smart contract. This flexibility is what allows us to say that developers with no blockchain experience can use any code language to access the benefits of blockchain. Customers have used NodeJS, Python, Java, and even BASH shell script to write smart contracts on Dragonchain.
With Docker containers, we achieve better separation of concerns, faster deployment, higher reliability, and lower response times.
We chose Kubernetes for its self-healing features, ability to run multiple services on one server, and its large and thriving development community. It is resilient, scalable, and automated. OpenFaaS allows us to package smart contracts as Docker images for easy deployment.
Contract deployment time is now bounded only by the size of the Docker image being deployed but remains fast even for reasonably large images. We also take advantage of Docker’s flexibility and its ability to support any language that can run on x86 architecture. Any image, public or private, can be run as a smart contract using Dragonchain.
Flexibility in ScalingDragonchain’s architecture considers interoperability and integration as key features. From inception, we had a goal to increase adoption via integration with real business use cases and traditional systems.
We envision the ability for Reddit, in the future, to be able to integrate alternate content storage platforms or other financial services along with the token.
Cost estimates (on-chain and off-chain) For the purpose of this proposal, we assume that all transactions are on chain (posts, replies, and votes).On the Dragonchain network, transaction costs are deterministic/predictable. By staking TIME on the business node (as described above) Reddit can reduce transaction costs to as low as $0.0000025 per transaction.
Dragonchain Fees Table
How to run itBuilding on Dragonchain is simple and requires no blockchain experience. Spin up a business node (L1) in our managed environment (AWS), run it in your own cloud environment, or on-prem in your own datacenter. Clear documentation will walk you through the steps of spinning up your first Dragonchain Level 1 Business node.
Getting started is easy...
ArchitectureDragonchain is an open source hybrid platform. Through Dragon Net, each chain combines the power of a public blockchain (like Ethereum) with the privacy of a private blockchain.
Dragonchain organizes its network into five separate levels. A Level 1, or business node, is a totally private blockchain only accessible through the use of public/private keypairs. All business logic, including smart contracts, can be executed on this node directly and added to the chain.
After creating a block, the Level 1 business node broadcasts a version stripped of sensitive private data to Dragon Net. Three Level 2 Validating nodes validate the transaction based on guidelines determined from the business. A Level 3 Diversity node checks that the level 2 nodes are from a diverse array of locations. A Level 4 Notary node, hosted by a KYC partner, then signs the validation record received from the Level 3 node. The transaction hash is ledgered to the Level 5 public chain to take advantage of the hash power of massive public networks.
Dragon Net can be thought of as a “blockchain of blockchains”, where every level is a complete private blockchain. Because an L1 can send to multiple nodes on a single level, proof of existence is distributed among many places in the network. Eventually, proof of existence reaches level 5 and is published on a public network.
APIs (on chain & off)
Known issues or tradeoffs
Costs and resources
Summary of cost & resource information for both on-chain & off-chain components used in the PoC, as well as cost & resource estimates for further scaling. If your PoC is not on mainnet, make note of any mainnet caveats (such as congestion issues).Every transaction on the PoC system had a transaction fee of $0.0001 (one-hundredth of a cent USD). At 256MM transactions, the demo cost $25,600. With current operational fees, the same demonstration would cost $640 USD.
For the demonstration, to achieve throughput to mimic a worldwide payments network, we modeled several clients in AWS and 4-5 business nodes to handle the traffic. The business nodes were tuned to handle higher throughput by adjusting memory and machine footprint on AWS. This flexibility is valuable to implementing a system such as envisioned by Reddit. Given that Reddit’s daily traffic (posts, replies, and votes) is less than half that of our demo, we would expect that the entire Reddit system could be handled on 2-5 business nodes using right-sized containers on AWS or similar environments.
Verification was accomplished on the operational Dragon Net network with over 700 independently owned verification nodes running around the world at no cost to the business other than paid transaction fees.
This PoC should scale to the numbers below with minimal costs (both on & off-chain). There should also be a clear path to supporting hundreds of millions of users.During Dragonchain’s 24 hour demo, the above required numbers were reached within the first few minutes.
Reddit’s total activity is 9000% more than Ethereum’s total transaction level. Even if you do not include votes, it is still 700% more than Ethereum’s current volume. Dragonchain has demonstrated that it can handle 250 million transactions a day, and it’s architecture allows for multiple systems to work at that level simultaneously. In our PoC, we demonstrate double the full capacity of Reddit, and every transaction was proven all the way to Bitcoin and Ethereum.
Reddit Scaling on Ethereum
Solutions should not depend on any single third-party provider. We prefer solutions that do not depend on specific entities such as Reddit or another provider, and solutions with no single point of control or failure in off-chain components but recognize there are numerous trade-offs to considerDragonchain’s architecture calls for a hybrid approach. Private business nodes hold the sensitive data while the validation and verification of transactions for the business are decentralized within seconds and secured to public blockchains within 10 minutes to 2 hours. Nodes could potentially be controlled by owners of individual subreddits for more organic decentralization.
Usability Scaling solutions should have a simple end user experience.
Users shouldn't have to maintain any extra state/proofs, regularly monitor activity, keep track of extra keys, or sign anything other than their normal transactionsDragonchain and its customers have demonstrated extraordinary usability as a feature in many applications, where users do not need to know that the system is backed by a live blockchain. Lyceum is one of these examples, where the progress of academy courses is being tracked, and successful completion of courses is rewarded with certificates on chain. Our @Save_The_Tweet bot is popular on Twitter. When used with one of the following hashtags - #please, #blockchain, #ThankYou, or #eternalize the tweet is saved through Eternal to multiple blockchains. A proof report is available for future reference. Other examples in use are DEN, our decentralized social media platform, and our console, where users can track their node rewards, view their TIME, and operate a business node.
Transactions complete in a reasonable amount of time (seconds or minutes, not hours or days)All transactions are immediately usable on chain by the system. A transaction begins the path to decentralization at the conclusion of a 5-second block when it gets distributed across 5 separate community run nodes. Full decentralization occurs within 10 minutes to 2 hours depending on which interchain (Bitcoin, Ethereum, or Ethereum Classic) the transaction hits first. Within approximately 2 hours, the combined hash power of all interchained blockchains secures the transaction.
Free to use for end users (no gas fees, or fixed/minimal fees that Reddit can pay on their behalf)With transaction pricing as low as $0.0000025 per transaction, it may be considered reasonable for Reddit to cover transaction fees for users.
All of Reddit's Transactions on Blockchain (month)
Community points can be earned by users and distributed directly to their Reddit account in batch (as per Reddit minting plan), and allow users to withdraw rewards to their Ethereum wallet whenever they wish. Withdrawal fees can be paid by either user or Reddit. This model has been operating inside the Dragonchain system since 2018, and many security and financial compliance features can be optionally added. We feel that this capability greatly enhances user experience because it is seamless to a regular user without cryptocurrency experience, yet flexible to a tech savvy user. With regard to currency or token transactions, these would occur on the Reddit network, verified to BTC and ETH. These transactions would incur the $0.0000025 transaction fee. To estimate this fee we use the monthly active Reddit users statista with a 60% adoption rate and an estimated 10 transactions per month average resulting in an approximate $720 cost across the system. Reddit could feasibly incur all associated internal network charges (mining/minting, transfer, burn) as these are very low and controllable fees.
Reddit Internal Token Transaction Fees
Reddit Ethereum Token Transaction Fees
When we consider further the Ethereum fees that might be incurred, we have a few choices for a solution.
Users should be able to view their balances & transactions via a blockchain explorer-style interfaceFrom interfaces for users who have no knowledge of blockchain technology to users who are well versed in blockchain terms such as those present in a typical block explorer, a system powered by Dragonchain has flexibility on how to provide balances and transaction data to users. Transactions can be made viewable in an Eternal Proof Report, which displays raw data along with TIME staking information and traceability all the way to Bitcoin, Ethereum, and every other Interchained network. The report shows fields such as transaction ID, timestamp, block ID, multiple verifications, and Interchain proof. See example here.
Node payouts within the Dragonchain console are listed in chronological order and can be further seen in either Dragons or USD. See example here.
In our social media platform, Dragon Den, users can see, in real-time, their NRG and MTR balances. See example here.
A new influencer app powered by Dragonchain, Raiinmaker, breaks down data into a user friendly interface that shows coin portfolio, redeemed rewards, and social scores per campaign. See example here.
Exiting is fast & simpleWithdrawing funds on Dragonchain’s console requires three clicks, however, withdrawal scenarios with more enhanced security features per Reddit’s discretion are obtainable.
Interoperability Compatibility with third party apps (wallets/contracts/etc) is necessary.Proven interoperability at scale that surpasses the required specifications. Our entire platform consists of interoperable blockchains connected to each other and traditional systems. APIs are well documented. Third party permissions are possible with a simple smart contract without the end user being aware. No need to learn any specialized proprietary language. Any code base (not subsets) is usable within a Docker container. Interoperable with any blockchain or traditional APIs. We’ve witnessed relatively complex systems built by engineers with no blockchain or cryptocurrency experience. We’ve also demonstrated the creation of smart contracts within minutes built with BASH shell and Node.js. Please see our source code and API documentation.
Scaling solutions should be extensible and allow third parties to build on top of it Open source and extensible
Documentation should be clear and completeFor full documentation, explore our docs, SDK’s, Github repo’s, architecture documents, original Disney documentation, and other links or resources provided in this proposal.
Third-party permissionless integrations should be possible & straightforward Smart contracts are Docker based, can be written in any language, use full language (not subsets), and can therefore be integrated with any system including traditional system APIs. Simple is better. Learning an uncommon or proprietary language should not be necessary.Advanced knowledge of mathematics, cryptography, or L2 scaling should not be required. Compatibility with common utilities & toolchains is expected.
Dragonchain business nodes and smart contracts leverage Docker to allow the use of literally any language or executable code. No proprietary language is necessary. We’ve witnessed relatively complex systems built by engineers with no blockchain or cryptocurrency experience. We’ve also demonstrated the creation of smart contracts within minutes built with BASH shell and Node.js.
Bonus Points: Show us how it works. Do you have an idea for a cool new use case for Community Points? Build it!
TIMECommunity points could be awarded to Reddit users based upon TIME too, whereas the longer someone is part of a subreddit, the more community points someone naturally gained, even if not actively commenting or sharing new posts. A daily login could be required for these community points to be credited. This grants awards to readers too and incentivizes readers to create an account on Reddit if they browse the website often. This concept could also be leveraged to provide some level of reputation based upon duration and consistency of contribution to a community subreddit.
Dragon DenDragonchain has already built a social media platform that harnesses community involvement. Dragon Den is a decentralized community built on the Dragonchain blockchain platform. Dragon Den is Dragonchain’s answer to fake news, trolling, and censorship. It incentivizes the creation and evaluation of quality content within communities. It could be described as being a shareholder of a subreddit or Reddit in its entirety. The more your subreddit is thriving, the more rewarding it will be. Den is currently in a public beta and in active development, though the real token economy is not live yet. There are different tokens for various purposes. Two tokens are Lair Ownership Rights (LOR) and Lair Ownership Tokens (LOT). LOT is a non-fungible token for ownership of a specific Lair. LOT will only be created and converted from LOR.
Energy (NRG) and Matter (MTR) work jointly. Your MTR determines how much NRG you receive in a 24-hour period. Providing quality content, or evaluating content will earn MTR.
Security. Users have full ownership & control of their points.All community points awarded based upon any type of activity or gift, are secured and provable to all Interchain networks (currently BTC, ETH, ETC). Users are free to spend and withdraw their points as they please, depending on the features Reddit wants to bring into production.
Balances and transactions cannot be forged, manipulated, or blocked by Reddit or anyone elseUsers can withdraw their balance to their ERC20 wallet, directly through Reddit. Reddit can cover the fees on their behalf, or the user covers this with a portion of their balance.
Users should own their points and be able to get on-chain ERC20 tokens without permission from anyone elseThrough our console users can withdraw their ERC20 rewards. This can be achieved on Reddit too. Here is a walkthrough of our console, though this does not show the quick withdrawal functionality, a user can withdraw at any time. https://www.youtube.com/watch?v=aNlTMxnfVHw
Points should be recoverable to on-chain ERC20 tokens even if all third-parties involved go offlineIf necessary, signed transactions from the Reddit system (e.g. Reddit + Subreddit) can be sent to the Ethereum smart contract for minting.
A public, third-party review attesting to the soundness of the design should be availableTo our knowledge, at least two large corporations, including a top 3 accounting firm, have conducted positive reviews. These reviews have never been made public, as Dragonchain did not pay or contract for these studies to be released.
Bonus pointsSee above
Compatibility with HSMs & hardware walletsFor the purpose of this proposal, all tokenization would be on the Ethereum network using standard token contracts and as such, would be able to leverage all hardware wallet and Ethereum ecosystem services.
Minting/distributing tokens is not performed by Reddit directlyThis operation can be automated by smart contract on Ethereum. Subreddits can if desired have a role to play.
One off point burning, as well as recurring, non-interactive point burning (for subreddit memberships) should be possible and scalableThis is possible and scalable with interaction between Dragonchain Reddit system and Ethereum token contract(s).
Fully open-source solutions are strongly preferredDragonchain is fully open source (see section on Disney release after conclusion).
ConclusionWhether it is today, or in the future, we would like to work together to bring secure flexibility to the highest standards. It is our hope to be considered by Ethereum, Reddit, and other integrative solutions so we may further discuss the possibilities of implementation. In our public demonstration, 256 million transactions were handled in our operational network on chain in 24 hours, for the low cost of $25K, which if run today would cost $625. Dragonchain’s interoperable foundation provides the atmosphere necessary to implement a frictionless community points system. Thank you for your consideration of our proposal. We look forward to working with the community to make something great!
Disney Releases Blockchain Platform as Open SourceThe team at Disney created the Disney Private Blockchain Platform. The system was a hybrid interoperable blockchain platform for ledgering and smart contract development geared toward solving problems with blockchain adoption and usability. All objective evaluation would consider the team’s output a success. We released a list of use cases that we explored in some capacity at Disney, and our input on blockchain standardization as part of our participation in the W3C Blockchain Community Group.
Open SourceIn 2016, Roets proposed to release the platform as open source to spread the technology outside of Disney, as others within the W3C group were interested in the solutions that had been created inside of Disney.
Following a long process, step by step, the team met requirements for release. Among the requirements, the team had to:
The Disney Open Source Committee approved the application known as OSSRELEASE-10, and the code was released on October 2, 2016. Disney decided to not issue a press release.
Original OSSRELASE-10 document
Dragonchain FoundationThe Dragonchain Foundation was created on January 17, 2017. https://den.social/l/Dragonchain/24130078352e485d96d2125082151cf0/dragonchain-and-disney/
Yes. You pick a peer and after some setup, create a bitcoin transaction to fund the lightning channel; it’ll then take another transaction to close it and release your funds. You and your peer always hold a bitcoin transaction to get your funds whenever you want: just broadcast to the blockchain like normal. In other words, you and your peer create a shared account, and then use Lightning to securely negotiate who gets how much from that shared account, without waiting for the bitcoin blockchain.
Yes, Lightning is open source. Anyone can review the code (in the same way as the bitcoin code)
Similar to the bitcoin network, no one will ever own or control the Lightning Network. The code is open source and free for anyone to download and review. Anyone can run a node and be part of the network.
No, your bitcoin will never leave the blockchain. Instead your bitcoin will be held in a multi-signature address as long as your channel stays open. When the channel is closed; the final transaction will be added to the blockchain. “Off-chain” is not a perfect term, but it is used due to the fact that the transfer of ownership is no longer reflected on the blockchain until the channel is closed.
Example: A and B have a channel. 1 BTC each. A sends B 0.5 BTC. B sends back 0.25 BTC. Balance should be A = 0.75, B = 1.25. If A gets disconnected, B can publish the first Tx where the balance was A = 0.5 and B = 1.5. If the node B does in fact attempt to cheat by publishing an old state (such as the A=0.5 and B=1.5 state), this cheat can then be detected on-chain and used to steal the cheaters funds, i.e., A can see the closing transaction, notice it's an old one and grab all funds in the channel (A=2, B=0). The time that A has in order to react to the cheating counterparty is given by the CheckLockTimeVerify (CLTV) in the cheating transaction, which is adjustable. So if A foresees that it'll be able to check in about once every 24 hours it'll require that the CLTV is at least that large, if it's once a week then that's fine too. You definitely do not need to be online and watching the chain 24/7, just make sure to check in once in a while before the CLTV expires. Alternatively you can outsource the watch duties, in order to keep the CLTV timeouts low. This can be achieved both with trusted third parties or untrusted ones (watchtowers). In the case of a unilateral close, e.g., you just go offline and never come back, the other endpoint will have to wait for that timeout to expire to get its funds back. So peers might not accept channels with extremely high CLTV timeouts. -- Source
Tiny payments are possible: since fees are proportional to the payment amount, you can pay a fraction of a cent; accounting is even done in thousandths of a satoshi. Payments are settled instantly: the money is sent in the time it takes to cross the network to your destination and back, typically a fraction of a second.
Yes, but not in theory. You could make a poorer lightning network without it, which has higher risks when establishing channels (you might have to wait a month if things go wrong!), has limited channel lifetime, longer minimum payment expiry times on each hop, is less efficient and has less robust outsourcing. The entire spec as written today assumes segregated witness, as it solves all these problems.
No, for now. For the first version of the protocol, if you wanted to send a normal bitcoin transaction using your channel, you have to close it, send the funds, then reopen the channel (3 transactions). In future versions, you and your peer would agree to spend out of your lightning channel funds just like a normal bitcoin payment, allowing you to use your lightning wallet like a normal bitcoin wallet.
Not really. Anyone can set up a node, and so it’s a race to the bottom on fees. In practice, we may see the network use a nominal fee and not change very much, which only provides an incremental incentive to route on a node you’re going to use yourself, and not enough to run one merely for fees. Having clients use criteria other than fees (e.g. randomness, diversity) in route selection will also help this.
Lightning is already being tested on the Mainnet Twitter Link but as for a specific date, Jameson Lopp says it best
Nope, because there is no custody ever involved. It's just like forwarding packets. -- Source
Furthermore, the Lightning Network scales not with the transaction throughput of the underlying blockchain, but with modern data processing and latency limits - payments can be made nearly as quickly as packets can be sent. -- Source
Each exchange will get to decide and need to implement the software into their system, but some ideas have been outlined here: Google Doc - Lightning Exchanges
Note that by virtue of the usual benefits of cost-less, instantaneous transactions, lightning will make arbitrage between exchanges much more efficient and thus lead to consistent pricing across exchange that adopt it. -- Source
According to Rusty's calculations we should be able to store 1 million nodes in about 100 MB, so that should work even for mobile phones. Beyond that we have some proposals ready to lighten the load on endpoints, but we'll cross that bridge when we get there. -- Source
No you'd remember the information from the last time you started the app and only sync the differences. This is not yet implemented, but it shouldn't be too hard to get a preliminary protocol working if that turns out to be a problem. -- Source
Lightning is based on participants in the network running lightning node software that enables them to interact with other nodes. This does not require being a full bitcoin node, but you will have to run "lnd", "eclair", or one of the other node softwares listed above.
All lightning wallets have node software integrated into them, because that is necessary to create payment channels and conduct payments on the network, but you can also intentionally run lnd or similar for public benefit - e.g. you can hold open payment channels or channels with higher volume, than you need for your own transactions. You would be compensated in modest fees by those who transact across your node with multi-hop payments. -- Source
Sure, you can help write up educational material. You can learn and read more about the tech at http://dev.lightning.community/resources. You can test the various desktop and mobile apps out there (Lightning Desktop, Zap, Eclair apps). -- Source
No -- Source
lit doesn't depend on having your own full node -- it automatically connects to full nodes on the network. -- Source
LND uses a light client mode, so it doesn't require a full node. The name of the light client it uses is called neutrino
Upon opening a channel, the two endpoints first agree on a reserve value, below which the channel balance may not drop. This is to make sure that both endpoints always have some skin in the game as rustyreddit puts it :-)
For a cheat to become worth it, the opponent has to be absolutely sure that you cannot retaliate against him during the timeout. So he has to make sure you never ever get network connectivity during that time. Having someone else also watching for channel closures and notifying you, or releasing a canned retaliation, makes this even harder for the attacker. This is because if he misjudged you being truly offline you can retaliate by grabbing all of its funds. Spotty connections, DDoS, and similar will not provide the attacker the necessary guarantees to make cheating worthwhile. Any form of uncertainty about your online status acts as a deterrent to the other endpoint. -- Source
You typically want to have more than one channel open at any given time for redundancy's sake. And we imagine open and close will probably be automated for the most part. In fact we already have a feature in LND called autopilot that can automatically open channels for a user.
Frequency will depend whether the funds are needed on-chain or more useful on LN. -- Source
You don't really set up a "node" in the sense that anyone with more than one channel can automatically be a node and route payments. Fees on LN can be set by the node, and can change dynamically on the network. -- Source
Yes but it has to be implemented in the Lightning software being used. -- Source
You won't have to do anything. With autopilot enabled, it'll automatically open and close channels based on the availability of the network. -- Source
|This just got cross posted to /sysadmin ; as a fellow research-field oriented sysadmin it gets worse... I too started in the Quake/HL/CS/TF timeframe, but got my degree in CompSci. Have you ever dealt with mice (the mammal kind; I've got worse stories)?||Certs: just got my RHCSA this year. I've got the RHCE scheduled for october, and I'm studying for the CCNA, though I use HP switches.|
|How do you backup desktops / servers?||Backups: Luckily, I don't do desktop support. We have another IT group that does that, I'm completely independent from them and I only have to take care of servers (and my own desktop). The physical servers are backed up to tape with Bacula. Our virtual servers are backed up with Veeam. My own desktop is backed up to my NAS share using synctoy (yes, i use windows on my desktop).|
|How much disk space do you have in one server?||One off systems: As in physical servers built by hand? 0. I'm pretty much a Fujitsu shop with a few Dells. I definitely don't have time to be piecing servers together. disk space: only a few TB per server. I think the better answer would be that we have an Isilon X200 cluster that is 140 TB.|
|one off systems: As in physical servers built by hand? More as in unique software; such as this computer runs the HPLC.||I guess in that case I only manage a handful of physical servers and a few VMs that are made for running one special piece of software or analyze data from one piece of scientific equipment. We have many other scientific devices that are attached to PCs that are "community" devices, but I don't have to manage them. and we've got a microscopy group that is separate from me too, with their own machines and devices.|
|If you are moving to 1gbs are you looking to increase the MTU? I was working on that but had some issues with firewalls for my windows-putty users.||First, just to clarify, we're going to 10G from the 1G we have right now. I'm not our main network guy, so I'm not entirely sure but I doubt we'll change the MTU simply because we don't have a remote site so the majority of our traffic is regular internet traffic.|
|As for our backend network, I do use jumbo frames on a couple VLANs for our storage.|
|That most important question for any sysadmin...vi or emacs?||Vi improved.|
|Anand Shimpi and Dustin Sklavos had an interesting podcast on the merits of Haswell on the desktop. In short, Dustin echos the enthusiast community's frustration with overclocking headroom decreases from Sandy Bridge Ivy Bridge Haswell. It seems like IPC has gone up but maximum frequency has gone down so the ratio seems almost 1:1. Then there is the issue of the use of TIM and IHS glue cap that caused some to delid their CPUs (and void their warranties). Question 1: What are your thoughts on the overclocking headroom decreases that we've seen? Question 2: Is Intel doing enough to cater to the enthusiast community? Question 3: How do you feel about the delay in the release of Enthusiast parts by Intel (Sandy Bridge-E & Ivy Bridge-E) versus mainstream parts (Sandy, Ivy, and Haswell)?||Intel makes good chips and they do keep pushing technology forward, but they will never do overclockers any favors. They will always be doing whatever they can to make money. AMD will also do the same thing. Intel seems to think enthusiast solely means "deep pockets". At the same time, there always seems to be a lot of "the sky is falling" reporting done by many tech journalists. Intel hasn't completely forgotten about overclockers and I don't think they ever will completely let that group disappear. And really, what incentive does Intel have to completely lock out overclockers? Sure, deny us our warranty, we'll go ahead and buy another chip and give you more money. How could you deny that as a company? as for overclocking headroom decreases, one can only hope that means we've got a whole new architecture coming out soon, something like the transition from Pentium 4 to Core.|
|Do you have a home lab setup to learn/test on? If so, what does it consist of?||At home I've got a 1u dell poweredge sitting in a closet which is my main server. I run bageez.us off it which was supposed to be my way of giving back to the community, by running a Linux torrent site. Other than that I've got two htpcs running Debian, a desktop windows machine for gaming/reviewing hardware, and a file server with 8 tb running Debian and KVM with a few Debian VMS.|
|Do you still have that site going? I tried your link but it didn't work.||Looks like I let the SSL cert expire. I'll fix that tomorrow. It works on my end but I think I want to recode a few things and possibly get it to work with other trackers. Right now the torrents will only work with my local tracker.|
|Need to monitor that ;D.||Yeah it's one of those things where I seem to be the only one visiting the site, so why stress about it. I also set up owncloud, but again, i'm the only one that uses it. :(|
|Do you get to keep the hardware you review? - Do you prefer the black theme or the white theme?||Most of the time, yes.|
|Black. I don't mind the white theme that much tho. edit: he's asking about the forum default skin at overclockers.com/forums|
|What is your #1 piece of advise for any linux sysadmin?||That's a tough one. Do you mean someone looking to become a sysadmin or one that is already a sysadmin?|
|I guess I didn't specify that did I? I ask the question because I've been doing mostly Windows sysadmin duties for about 2 years and some linux admin stuff. I'm falling in love with Linux and I would love to have a job dedicated to just *nix What advise/suggestions would you give someone that is wanting to make the transition?||I think what really got me the best knowledge was forcing myself to use a "less polished" distro as my main rig for a few years. Once you are forced to learn, you'll learn quickly. Picking up an rhcsa book will help too even if you don't plan on taking the exam. Go through it and do the exercises. Install a distro, set it up, then format and do it all over. You can use virtual box for the same result without killing your main rig.|
|Do you still use FreeBSD? If so, what exactly do you use it for now?||No, but I wish I did. I stopped using it because the GPU support in Linux was better on my desktop, and now I work mostly with CentOS, and it would be a lot of work to change 100ish servers over to FreeBSD.|
|What did you use to train yourself in everything? Just break and fix?||Pretty much just the experience of using it daily on my desktop for years. Running gentoo and Slackware really gets you used to doing things for yourself.|
|Configuration management of choice for those 18 servers? I'm just a jack of all trades sysadmin with a strong focus on problem solving. Are you trying to cure cancer with those 18 nodes or mining bitcoins?||I started playing around with puppet but haven't really gotten the hang of it. Right now the cluster is running ROCKS with Grid Engine, and I just use the rocks commands to provision/wipe nodes.|
|What's the hardest part about getting started with puppet?||I think its mostly just finding the time to sit down and have enough time to emerse myself in it.|
|700+ centos nodes across a few clusters here and I'm loving ansible.||Nice. I've heard that ROCKS becomes a bear at scale, but for now it's pretty simple and quick. My plan is to keep adding another 18 nodes every year (one full blade cluster) every year, as long as I can get funding, so I'm keeping my eyes open for other solutions for provisioning. Bright cluster manager is another one I have on my radar.|
|Computer didn't work for 5 months (it started then after i downloaded skyrim from steam it shut off, then finally worked last month). Put my new graphics card in, then problems ensued. Here: Link to www.reddit.com.||1st step i'd do is remove all nonessential parts from the computer. Leave the cpu and 1 stick of ram. Pull out the graphics card, don't connect any hard drives or cd drives. On the back, connect the monitor to the on board video card and connect the keyboard. Does it power on? Do you get any error messages other than it saying there is no OS? Then power down and connect things one by one until you figure out what part is causing the problem. If you think it's the drivers, you can boot into safe mode (i hope windows 8 still has that, press f8 while booting), then run Driver Sweeper, to remove the graphics drivers. I haven't tried this on windows 8 so i'm not sure if it will run or not. I don't think you need to do a full format and reinstall.|
|I'll try this tomorrow after work for sure. Do you reddit enough that i could contact you for more advice for help if i run into anything else? (i did contact nvidia team for help, they just told me to delete old drivers without any other help then those words). I don't blame you if you don't want to say you are able to help me with this situation. Humans be humans. Was there a specific reason to go into a cancer research lab? Or was it just a job that came around?||No I don't go into photoshopbattles. I pretty much just do what I need for websites and that's it.|
|How do you like your baked potatoes? (please get into specific detail).||It just happened to be the job I found but I love the environment. Much different than a corporate job.|
|I'm not a fan of baked potatoes but I do love curly fries if that counts for something.|
|You should really join us in the BAPC IRC channel.||I do hang out in the unofficial Overclockers.com irc channel quite a bit. I'll try to drop by.|
|Do you do any sort of automation for firmware updates?||Firmware automation? Nope, and I don't think I'd ever want such a thing. I've been looking at puppet as a way to automatically update software though.|
|I saw below you guys have some Dell servers, what models and do you use their Lifecycle Controller?||We have a couple r610 servers and an equallogic storage box. I haven't heard of this life cycle controller.|
|What are the specs of your personal rig?||Intel i7 3770k @ 4ghz.|
|Zalman CNPS9900LED cooler.|
|Patriot ddr3 2x2gb @ 800mhz cas7 (rated for 1200mhz cas9 but I can't boot at that speed anymore for some reason)|
|ATI Radeon HD 6870.|
|OCZ Revodrive X2.|
|How come you have a 3770k but only 4GB of RAM and a 6870? Seems a little overpowered in the CPU category.||For benchmarking, mainly. The 3770k was our standard platform for reviews when I bought it. The rest is leftovers from various reviews. We don't get paid, so basically we work for hardware when we write reviews, more or less.|
|Wait when you review hardware you get stuff?||Yes, hardware vendors provide review samples.|
|Have you ever had an OEM send you equipment different from the consumer version? (Say a factory overclocked version) and claiming it was the standard.||Nope. Even if they did, we'd certainly review it as the hardware is, not as they intended it to be.|
|What's the worst PC loadout you've ever seen?||PC load letter? What the f does that mean?|
|[email protected] JK, doesn't work well on a cluster unfortunately. Unless you have any perls of wisdom on how to make it work on a cluster?||Well, it would work just as it does on any other group of computers. I'd have to run one client on each computer and they'd all check back to get their own workloads, so it would really take out the "cluster" usage and turn them just into regular blade servers.|
|How old are you?||Young 30s.|
|Have you gone to college and completed a bachelor's degree, if not, do you regret it?||Yes, BS in Mechanical Engineering.|
|How did you prove yourself to be worthy of that initial Jr. Sys. Admin job?||I listed everything I could think of that I've done that was computesysadmin related. I had administered several web servers over the years, and experimented with many different distributions as my daily driver on my main desktop, so I was very comfortable on the command line and with day to day tasks. I was asked a few 'test' questions on the interview but I think they were more to gauge exactly what i did and didn't have experience with, not so much to make or break me.|
|Lastly, congrats on doing what you love for a living. Cheers to your future.||And thanks. i definitely wake up in the morning with a different attitude than i used to, and that makes a big difference.|
|Configuration Management / Vagrant / Clouds.||I have start playing with configuration management, but haven't gotten anything in production yet. I only provision new VMs every once in a while, and once the computer nodes are up they are pretty stable.|
|What is your scripting language of choice?||I use straight up bash for most things, and python for some. I'm trying to learn more python.|
|How do you feel about some distros moving away from init.d and going to systemd?||I like init.d because it's what I know. Systemd is just a different way of doing things, I'm sure I'll like it once I learn it.|
|As a OCF Member I have to ask, What is the most extreme cooling you have dealt with?(LN2, Phase Change, Water, D-Ice, etc.)||LN2, at the benching party in philly last year. We definitely need to get one of those on schedule again. Also, my work has LN2 and D-ice sitting around but I haven't asked if it's ok for me to play with those yet. One day, i'll ask, and it will be awesome if they say yes. fingers crossed.|
|So, can I have some of your left over gear? Joking, heh heh... Seriously though, got any gear that's collecting dust?||Mostly by the time we're ready to part with gear, it's not worth much and is terribly outdated. Or, it's been burned up by pushing too many volts.|
|What do you do with the old gear? Do you scrap up a functional computer and donate it to a charity, or just proper e-waste recycling?||If it's not on my computer or benching station, it's in my closet. And my wife doesn't like the amount of computer stuff in my closet, so I'm sure I'll start looking for some way to recycle stuff soon.|
|Where does a young grasshopper starts to learn all of these materials wise one?||Well, you could get yourself a RHCSA prep book (linked to the one i have and found useful) and go through all of the exercises. The way I learned was basically to set up my own servers, either physical or virtual, at home, and run them. I think FreeBSD, Gentoo, and Slackware were the most beneficial to me in that they don't really make choices for you, so you have to configure things for yourself which forces you to read the documentation and learn. They all have excellent documentation, btw. If you want to go a step further, linux from scratch will really teach you about the operating system from the ground up.|
|From there, come up with little projects for yourself. Like making a home NAS, setup NFS and Samba shares, install XBMC on a HTPC and hook it up to your tv to stream movies and music. Setup a webserver and owncloud. Stuff like that.|
|Sorry I'm late but... how old were you when you first starting tinkering with Linux and such? I'd like to be a sysadmin or similar when I finish school so I figured you were the right person to ask.||I was 19 when I first made that half life/counterstrike server. I didn't even know what ssh was and it took a good amount of explaining for me to finally understand. The freebsd documentation is amazing and will walk you through just about everything step by step. To get NAT configured I had to use another how to but setting up that server taught me a ton.|
|Are you an Nvidia or an AMD guy?||It's changed several times over the years. I used to be solely Nvidia because of Linux, but AMD has been stepping up their game and getting their drivers usable, so I currently run all AMD.|
|How much of a PITA is it for you to be HIPAA compliant?||It's not really that tough. Luckily there's only a couple projects going on right now that have special needs above and beyond regular security needs.|
|What do you use for storage?||We have a few Jetstor SANs, a couple Promise RAID boxes, and an Equallogic box as our VMWare backend. But our main mass storage is Isilon X200.|
|Whoops my bad, meant 1.18 not 1.8 it'd be gone if it was 1.8. sorry. I am using a hyper 212 EVO in the standard push configuration.||Well 1.18 is too low for 4.4ghz.|
|Only 4gigs of ram in your rig ?||Yeah...I've got 16 in my work PC for running VMs, and 16 in my VM host at home too. I'll probably buy more soon.|
|Oh ok, what V would I go to? I was able to initially get 4.4 with 1.18 and 0 whea errors, what V would you recommend? This is my first oc btw.||Bump it up one step at a time until you are stable. Be methodical about it. You can check out what values other people are getting on hwbot.org.|
|Ok Ill do that, thanks man, at what V if the errors dont go away should I stop advancing them?||Most likely you will want to stay around 1.6v. I'm not very familiar with that chip specifically so I'd check hwbot to see what other people have posted and go by that. Obviously remember that not all chips are the same, so you can't expect to get exactly what other people get.|
|1.6, that seems a bit high for my 212 EVO, a few days ago I did have it at 1.18 without any WHEA 20 errors.||That's why I'm saying take it slow, one step at a time.|
|What do you think of this quote by Richard J. Schwartz? "The impact of nanotechnology is expected to exceed the impact the electronics revolution has had on our lives."||Sounds good to me. I can't wait to see what comes next.|
|Actually nodes, or are some of them VMs?||Physical blade servers as nodes. with 144 GB ram each.|
|Zfsonlinux in use?||No I haven't used zfs at all.|
|Hey... You're pretty cool.||Thanks. You're not too bad yourself.|
|The answer should be ''i wish i could say the same to you''||I'm not like that.|
|Just how big is your hpc.||Only 18 nodes :/ but its more what I do with it...|
|How'd you get your nickname.||Back when I played CS in the dorm freshman year of college, I used to get killed all the time. So I started calling myself "jack splat", as a play on the nursery rhyme (jack sprat), then shortened it to 'splat' on most of the websites I signed up for.|
|Describe a SHTF moment at your work place. I can imagine it must be highly stressful being the sole responsible person to keep all that gear running.||I definitely have a few and luckily they aren't that bad. One of my first few months, I decided to connect this wireless ap to the network to test it out one morning. As I was being awesome managing the cable to make it look clean, one of the security guards came into the server room and said they had no internet. I looked at our switches and they were all lit up solid. By hooking up the ap, which had spanning tree turned on, I took down the network of the entire building.|
|Ouch...that's definitely a SHTF moment. glad you came out unscathed.||Luckily, all I had to do was unplug it and everything went back to normal. I then set up a spare switch at my desk and played with it before figuring out that STP needed to be disabled on the AP. Now it's been running for over a year without incident.|
|Would you rather fight 100 duck sized horses or 1 horse sized duck?||I'd go for the horse sized duck. Seems like more of a challenge.|
|U mad?||Nah, I'm feeling pretty good today.|
Node.js versus python-crypto trading bots. The programming language that you choose depends solely on the features and functions that you want the trading bot to have. Preferably, you would want to use a programming language that’s widely supported and has an active community in the cryptocurrency sphere. Also, you need to make sure that it can be easily scaled, adapted, and added to if the ... Building Crypto Trading Bots with Python. Check out our new platform: https://thecapital.io/ ShrimpyApp. Follow. Oct 3 · 14 min read. Developing trading bots doesn’t need to be complicated. You ... A bitcoin trading bot written in node - https://gekko.wizb.it/ ... ฿ Bitcoin trading bot with a real-time dashboard for Bitstamp. python bot automation bitcoin trading transaction trading-bot cryptocurrencies bitstamp trade speculation jakubroztocil Updated Jul 14, 2020; Python; je-suis-tm / quant-trading Star 1.2k Code Issues Pull requests Python quantitative trading strategies including ... Creating a cryptocurrency trading bot is a great exercise for improving your development experience. Furthermore, you can commercialize it and capitalize on the rapid growth of cryptocurrencies for increasing your wealth. This article will just scratch the surface of building a cryptocurrency trading bot in Node.js. python machine-learning telegram deep-learning bitcoin trading trading-bot cryptocurrency exchange technical-analysis arbitrage cryptocurrency-trading-bot backtesting octobot social-trading Updated Oct 13, 2020
[index]          
What's up everyone, I upgrade my Robinhood trading bot that uses the RSI indicator to trade with support and resistance. Get my coding tips 👨💻: https://codi... Binance Bot Tutorial, Trading Bitcoin, Ethereum and other Cryptocurrencies on the Binance Exchange. Learn How To build an algorithmic cryptocurrency trading bot with Python - This tutorial will go through the process of creating a trading bot for Cryptocurrency using Node.js. The tutorial will focus on three Cryptocurrencies, Ether, Bitcoin & Litecoin. First, we’ll ... Brian walks you through a simple cryptocurrency trading bot in Python and using the Poloniex API. Part 1 of this series can be found here: https://youtu.be/f... Cryptocurrency can be a high-risk, high-reward game for those willing to deal with the volatility. Can we use AI to help us make predictions about Bitcoin's ...