In-Depth Technical & Code Review of 'Binance Chain' [Pt. 1]
Weekly Dev Update #19
THORChain Weekly Dev Update for Week 19–02 Nov 2019
1 Rune Fee
Reasoning about gas costs on networks with non-deterministic fee schedules (such as Bitcoin) becomes unnecessarily complex. The issue is that the final gas cost cannot be known ahead of time so the system must cover any variability in the gas cost so that the user can be charged a flat rate. If the user is not charged anything, then the system can be depleted of funds, passing the cost back to stakers. Additionally, swaps below 1 Rune bring negligible economic value to the network and saturate the mempool with low value transactions. As such the solution is to charge a flat 1 Rune fee (or 1 Rune equivalent) on all outgoing transactions (swap and withdrawals). This 1 Rune fee is moved into the Protocol Reserve and increases the network’s future income. When the nodes report on the final transaction, they include the observed transaction fee. This transaction fee is then reimbursed back to the pool that paid for it ( BNB.BNB, BTC.BTC, ETH.ETH etc). There are cases that the outgoing transaction fee may exceed 1 Rune (Bitcoin in high use), but more than likely 1 Rune will be more than sufficient to cover the costs and ensure the network grows its reserves. Additionally, it sets a floor on the minimum transaction that the network will process. A swap of less than 1 Rune will end up becoming a donation to the network.
The team are working on 4 parallel streams of effort. Cross-chain infrastructure has now been merged into a single repo called “THORNode”. * THORChain * Midgard Public API * Threshold Signature Scheme implementation * Front-end Integration for BEPSwap
Much work has been done to refactor and clean up the codebase which will make public audits easier. This includes splitting up the keeper, separating out the events module and more. Smoke tests have been fully-integrated into the test schedule. Safer subtraction and division methods were added to prevent the likelihood of panic events. * [refactor] split keeper funcs/interface into separate files * [tests] use gow * [refactor] Redo how get key works in keeper * [security] require no signers on tx ins * Resolve “ADD: 1 Rune Fee on all Swaps” * [bug] fix smoke tests * [ADD] semantic versioning * [Refactor] Keeper chains * [Refactor] Events Keeper * Resolve “Adds a SafeSub method” * [Refactor] Last Height Keeper * [Refactor] keeper liquidity fees * FIX: Issue 208 * [ISSUE] Get smoke tests to 100%
Midgard Public API
Midgard is now ready for integration into the FrontEnd. The manner in which USD price of assets in now updated to source only from internal pool pricing. This includes BNB.BUSD, BNB.TUSD, BNB.USDS. ROI endpoints are now added. * Fix : Updated our mock data to include a correct BNB address. * Add: Return the date a staker first staked. * Add: Previously missing implementations for pool data (24hr and 12m). * Fix: Several potential query issues. Updates to return the TX date as a UNIX timestamp. * Fix: Additional query updates/fixes. * Fix: Build system * Add: Filtering implementation for TxID and Asset. * Added missing import. * Fix/build issues * Fixed issue with my auto refactor * Add: Filtering updates. DB Config fix. * Add: Missing Staker methods for ROI and earnings. * Added fix to enabled timescale extension * Fix: Added build config for rpc_host * Add: Support to Calculate USD price of an asset. * Added: Health check for mainnet to test that we still have a db connection… * Add: Tests for the recent endpoints work. * jq syntax fix. * Additional jq fixes. * [ADD] Manage docker image on gitlab
Threshold Signature Scheme
The Binance Go TSS library is now fully implemented and deploys in a four-node chain. integrate with new go-tss * 212-issue export private key thus we can use it to start tss * 214-issue consolidate tss keygen and tss keysign config, with our new go-tss… * [ADD] Setup go-tss in genesis docker * [ADD] Have CI run smoke tests on a four node chain with TSS
The frontend makes some final tweaks on the interface, before integrating the Midgard APIs. * Resolve “Update stake page share panel” * Resolve “UPDATE: Network Dropdown Titles” * Resolve “ADD: Sorting of columns in pool list” * Resolve “ADD: Sorting of columns in pool list” * Resolve “FIX: Close token selection drop down when clicking outside” * Resolve “Add redux saga for midgard apis” * Resolve “Update protect price UI” * Resolve “Update wallet drawer”
The next milestone is: ChaosNet: 03 January 2020 on-time
This config file can be empty, can contain a single line of code or can have more than 100 lines. It all depends on your purpose. Also by default the GUI wallet overrides its settings with the one that is specified on the config file. Additionally, any command line options will override this config file. Projects like Binance Chain and Binance DEX are often built as forks of Bitcoin or as smart contracts on platforms like Ethereum. With a foundation of clean, well-structured code from Cosmos SDK, we were able to build on a codebase that we saw as a better alternative. Many thanks to the Cosmos developers and its community for their work (and for being really helpful in our issues and pull ... Load existing OHLC data from the file into memory; Compare both datasets and extend the existing dataset with the newer rows ; This workflow may be a bit overkill, but it makes this solution very robust against downtime and disconnections. To begin, you need the Binance OHLC Query element and a Basic Operation element to execute your own code. 2_data-mining-workflow.png. Data-mining workflow ... Method 2: Adding nodes using configuration file. Using the above console method you’ll have to manually add nodes one by one but what if you want to add a huge list of nodes to your wallet. This can be done by adding the complete node list to your wallet’s config file. First you’ll need to find your wallet directory. In Windows it can be ... Once extracted we can configure the miner by editing the config file to set our Bitcoin Gold address, as well as set our mining pool. The choices for Bitcoin Gold mining pools are: BTG Pool Pro (1% fee) Bitcoin Gold Pool (0.9% fee) Pool Gold (1% fee, 0.01BTG min. payout) For this guide we will use the BTG Pool Pro. Choose the server closest to ... Reviewing the Binance Chain Config File. The ‘config’ subfolder is the mother of all information for 99% of blockchain projects on GitHub. This is where we find information about consensus mechanisms, block creations, etc. So, without further ado, let’s journey a bit deeper. Binance cryptocurrency exchange - We operate the worlds biggest bitcoin exchange and altcoin crypto exchange in the world by volume import time from binance.client import Client # Import the Binance Client from binance.websockets import BinanceSocketManager # Import the Binance Socket Manager # Although fine for tutorial purposes, your API Keys should never be placed directly in the script like below. # You should use a config file (cfg or yaml) to store them and reference when needed.
How to file your cryptocurrency & bitcoin taxes with ...
Binance Academy 8,808 views. 6:03. How To Keep Your Cryptocurrency Safe - Duration: 6:21. Ameer Rosic Recommended for you. 6:21. Blockchain/Bitcoin for beginners 3: public/private keys, signatures ... Binance altcoin fiyatı Binance Bitcoin fiyatı Altcoin borsaları En güvenli altcoin borsası 1 Bitcoin ne kadar? En güvenli Bitcoin borsası. Category Science & Technology; Show more Show less ... Copy & Paste Videos on YouTube and Earn $100 to $300 Per Day - FULL TUTORIAL (Make Money Online) - Duration: 22:51. BIG MARK 384,755 views Téléchargement gratuit de CryptoCurrency Trading Bot: Lien 1: https://nippyshare.com/v/35f829 Lien 2: https://mega.nz/file/8J1WGAIT#IFH356IKVXBt-mXPtL3dZmsqL... This video is unavailable. Watch Queue Queue. Watch Queue Queue This video is to cover Config Pools in Cryptohopper. It doesn't seem like there is a lot of info on this now. Hopefully this helps. -----... CoinTracker tutorial on how to file your cryptocurrency and bitcoin taxes with CoinTracker and TurboTax. Import your transactions from top exchanges includin... HowTo: Automated Crypto Trading Bot - CryptoHopper : Configuration - Duration: 17:38 ... Easy trading BOT Binance Bittrex - Duration: 19:42 . Preview Films 5,105 views. 19:42. TOP 5 Cryptocurrency ... Part of a series of tutorials to get you started with risk-free automated trading with CryptoHopper, the 24/7 automated trading bot. Our paper trading exampl... I've been using the Cryptohopper Bitcoin Trading Bot for a few months now. I've used it on Bittrex, GDax and now I'm testing it on Binance Exchange. If you would like to try the Cryptohopper ...