106
General Discussion / Re: [ANN] BlockPay -Your favorite store can now accept any crypto thanx to Bitshares
« on: February 10, 2017, 02:58:38 pm »
Tons of updates this week!
https://github.com/kenCode-de?tab=repositories
BlockPay related:
This week's work was mainly focused on adding support for a wider range of currencies as input values. To be able to do this without relying on a 3rd party API it was required to ask the bitshares network about the witness-provided data regarding real-world currencies. The input currency support is consequently limited to those currencies that do have a smartcoin counterpart. The list now includes 14 currencies.
A lot of work has been invested in improving the handling of the conversions and making sure no unneeded exchange rate requests were being performed.
The currency and country selection have been decoupled from each other. This required both visible UI changes, and adjustments in the code behind the scenes. For the UI part we now have a separate spinner displaying the list of supported currencies displaying currency name, currency symbol and a small country flag.
It is now also possible to mark the "None" option when selecting the desired UIA for Loyalty Points. When this happens, the Loyalty Points "ratio" section gets deactivated. This feature has not yet been included in the latest release, but it is already published in the repo and we will probably release this on the app store this weekend.
Some minor UI adjustments like specifying the correct length of the PIN number and shading pending app features have been completed. At first the app used 6 digit PIN numbers, then we switched to 8, now the app supports 6-unlimited digits for added security.
Work regarding the storage of market cap data in the local database was also initiated. This will enable us not only to store this data in a proper way by taking advantage of the relational database, but bandwidth utilization will also be lowered since we'll be requiring less frequent updates.
C-IPFS related:
This week, we attempted to add the connectivity encryption to C-IPFS. It did not go as well as we had hoped.
We implemented the handshake, and the GO version (go-ipfs) is sending their side of the negotiation, but it is not listening to our response yet. We believe it is something small, but have yet to figure out what it is. So the goal today is to get two C versions to talk to each other.
Ephemeral encryption implemented:
https://github.com/kenCode-de/c-libp2p/commit/783855fe26a07c61a3ddab9b4fb3ad2b2db557f2
https://github.com/kenCode-de/c-libp2p/commit/f9ba2f6c0f5dbb878053bfa018a9f17098ea27df
https://github.com/kenCode-de/c-libp2p/commit/030b2b197d113ce1ea101d990ad625fb30206b82
Encryption negotiation:
https://github.com/kenCode-de/c-libp2p/commit/e1a29128b686c707d2e2bd0024a7895ae7554fe5
https://github.com/kenCode-de/c-libp2p/commit/be9f278ebf8a83e378d7aa3af0ce1077a866c19c
https://github.com/kenCode-de/c-libp2p/commit/773c980f1f1127d005a03d8eebf73d03bdca53c2
Testing and cleanup:
https://github.com/kenCode-de/c-libp2p/commit/c1620d1d8baad6c0d7245ad738defaf12728f40e
https://github.com/kenCode-de/c-libp2p/commit/e55f81490d3f63c23f6585cb2e362aad82ecd931
https://github.com/kenCode-de/c-libp2p/commit/910c07e9513ca0564454c2c285e788266de12b65
More commits:
https://github.com/kenCode-de/c-ipfs/commit/cd0993007717fa5efbc4d01bfba94112e93b7d76
https://github.com/kenCode-de/c-ipfs/commit/de6c4b24954a0e90bdde8e3be0fca1bc6f96c331
https://github.com/kenCode-de/c-ipfs/commit/0522bedd2a189092fbe169f32a16201cd1a23d5f
This coming week, we will finish the connectivity encryption, and all things going as planned, have our first formal public Release of C-IPFS for linux published by end of day today too. Mac, Win, Android and RasPI release should follow shortly thereafter.
Android Smartcoins Wallet:
Smartcoins Wallet v1.5.8 download is here:
https://play.google.com/store/apps/details?id=de.bitsharesmunich.smartcoinswallet
As mentioned before, we are now adding native support for Bitcoin, Litecoin, Dash, Dogecoin and Steem blockchains so that they can take advantage of the mobile wallet's Overdraft Protection (aka: Backup Asset), built-in coins Bridge, Loyalty Points, and eReceipts. These 5 additional chains will be integrated and Released (as probably v1.8.0) by May. Work done so far:
Stealth related:
More snark proof testing:
https://github.com/kenCode-de/graphene/commit/7007739e672f30e99b51e8e1875591689cbcea62
Snark gadget tests:
https://github.com/kenCode-de/graphene/commit/0318e5cb7b34da458a7a436c0a1bb3fc99fb69d8
We are expanding the api a bit this weekend so that the UI connections can be made properly. Once the api is to a point where I feel comfortable with it and we make the initial connections to the UI, then I will invite the community to start hammering on it with me, see if we can break it. That is a few weeks off yet, but I will post about it here as soon as I can. Everything is looking great and right on schedule so far though.
Alfredo Garcia, Bitshares Core Dev update:
Done:
asset api added 2 functions:
https://github.com/bitshares/bitshares-core/pull/226 merged
added list of assets created by account to get_full_accounts api function:
https://github.com/bitshares/bitshares-core/pull/229 merged
Remove "no subscription warning" - researched:
https://github.com/bitshares/bitshares-core/issues/174
Fixed in commit/a3cfa1055edb016d8d3b80258657862668f8598f#diff-37f216b941581cfd05361cdd1e765305
get_account_history in API-0 without login.
https://github.com/bitshares/bitshares-core/issues/105
This was resolved in PR from elmato (code referenced by xeroc):
https://github.com/bitshares/bitshares-core/pull/223 merged
full_accounts needs list of assets created by that account
https://github.com/bitshares/bitshares-core/issues/101
This was done and pull request is at:
https://github.com/bitshares/bitshares-core/pull/229 merged
full_accounts needs list of withdrawal permissions from and to that account
https://github.com/bitshares/bitshares-core/issues/230
https://github.com/bitshares/bitshares-core/pull/232 merged
Now in progress:
Websocket “spamming too much data” issue
https://github.com/cryptonomex/graphene/issues/540
Resolving here: https://github.com/bitshares/bitshares-core/issues/231
waiting on elmato and sigve contributions
Find a way to reduce the amount of bytes that are sent and/or received over the internet. EVERY byte counts. (remember my vending machine conversation).
spamming issue above must come first
support multiple transfer ops in a single transaction if possible. xeroc (on telegram) already coded this for the peerplays project, so will work with him and acquire that code.
Don't print private keys in log on witness startup
https://github.com/bitshares/bitshares-core/issues/93
api call to obtain an account's trad history for a specific asset-pair
https://github.com/bitshares/bitshares-core/issues/222
Uninstall light client does not remove "personal info"
https://github.com/bitshares/bitshares-core/issues/227
It's nice to see all of these issues being knocked out so fast.
Anyway, expect to see another release of both the Smartcoins Wallet and BlockPay in the next day or two, LOTS of great stuff coming your way.
https://github.com/kenCode-de?tab=repositories
BlockPay related:
This week's work was mainly focused on adding support for a wider range of currencies as input values. To be able to do this without relying on a 3rd party API it was required to ask the bitshares network about the witness-provided data regarding real-world currencies. The input currency support is consequently limited to those currencies that do have a smartcoin counterpart. The list now includes 14 currencies.
A lot of work has been invested in improving the handling of the conversions and making sure no unneeded exchange rate requests were being performed.
The currency and country selection have been decoupled from each other. This required both visible UI changes, and adjustments in the code behind the scenes. For the UI part we now have a separate spinner displaying the list of supported currencies displaying currency name, currency symbol and a small country flag.
It is now also possible to mark the "None" option when selecting the desired UIA for Loyalty Points. When this happens, the Loyalty Points "ratio" section gets deactivated. This feature has not yet been included in the latest release, but it is already published in the repo and we will probably release this on the app store this weekend.
Some minor UI adjustments like specifying the correct length of the PIN number and shading pending app features have been completed. At first the app used 6 digit PIN numbers, then we switched to 8, now the app supports 6-unlimited digits for added security.
Work regarding the storage of market cap data in the local database was also initiated. This will enable us not only to store this data in a proper way by taking advantage of the relational database, but bandwidth utilization will also be lowered since we'll be requiring less frequent updates.
C-IPFS related:
This week, we attempted to add the connectivity encryption to C-IPFS. It did not go as well as we had hoped.
We implemented the handshake, and the GO version (go-ipfs) is sending their side of the negotiation, but it is not listening to our response yet. We believe it is something small, but have yet to figure out what it is. So the goal today is to get two C versions to talk to each other.
Ephemeral encryption implemented:
https://github.com/kenCode-de/c-libp2p/commit/783855fe26a07c61a3ddab9b4fb3ad2b2db557f2
https://github.com/kenCode-de/c-libp2p/commit/f9ba2f6c0f5dbb878053bfa018a9f17098ea27df
https://github.com/kenCode-de/c-libp2p/commit/030b2b197d113ce1ea101d990ad625fb30206b82
Encryption negotiation:
https://github.com/kenCode-de/c-libp2p/commit/e1a29128b686c707d2e2bd0024a7895ae7554fe5
https://github.com/kenCode-de/c-libp2p/commit/be9f278ebf8a83e378d7aa3af0ce1077a866c19c
https://github.com/kenCode-de/c-libp2p/commit/773c980f1f1127d005a03d8eebf73d03bdca53c2
Testing and cleanup:
https://github.com/kenCode-de/c-libp2p/commit/c1620d1d8baad6c0d7245ad738defaf12728f40e
https://github.com/kenCode-de/c-libp2p/commit/e55f81490d3f63c23f6585cb2e362aad82ecd931
https://github.com/kenCode-de/c-libp2p/commit/910c07e9513ca0564454c2c285e788266de12b65
More commits:
https://github.com/kenCode-de/c-ipfs/commit/cd0993007717fa5efbc4d01bfba94112e93b7d76
https://github.com/kenCode-de/c-ipfs/commit/de6c4b24954a0e90bdde8e3be0fca1bc6f96c331
https://github.com/kenCode-de/c-ipfs/commit/0522bedd2a189092fbe169f32a16201cd1a23d5f
This coming week, we will finish the connectivity encryption, and all things going as planned, have our first formal public Release of C-IPFS for linux published by end of day today too. Mac, Win, Android and RasPI release should follow shortly thereafter.
Android Smartcoins Wallet:
Smartcoins Wallet v1.5.8 download is here:
https://play.google.com/store/apps/details?id=de.bitsharesmunich.smartcoinswallet
As mentioned before, we are now adding native support for Bitcoin, Litecoin, Dash, Dogecoin and Steem blockchains so that they can take advantage of the mobile wallet's Overdraft Protection (aka: Backup Asset), built-in coins Bridge, Loyalty Points, and eReceipts. These 5 additional chains will be integrated and Released (as probably v1.8.0) by May. Work done so far:
- Created Seeds Accounts Database
- Created Bitcoin Transaction Database
- Create BIP39 seed
- Create new Bitcoin Account
- Load Bitcoin Account from DB
- Import Bitcoin account from seed
- Added cryptocoin core tables to SCWALL: seeds, general_accounts, general_orphan_keys, general_address, general_transactions, inputs_tx, outputs_tx
- Added database queries to seeds and to general accounts
- Added AccountSeed , class that permits seed exporting and importing
- Added Seed Type BIP39 (Standrad Seed creation and importing)
- Added Seed Type Brainkey (openledger)
- Added General CryptoCoin Structure
- Added Bitcoin Account, Manager, Address)
- Changed the TabActivity to show the bitcoin balance (4)
- Adding the fragment for no currency account (no bitcoin account)
- Changed the mnemonic to add the master seed words to the end
- Import 24 to 28 words (brainkey and bitcoin) and also the 12 to 16 words import (only brainkey)
- Added Export new seeds (BIP39) and account to bin file
- Added import new seeds (BIP39) and account from bin file
- Importing and exporting of private keys
- Showing Bitcoin Balance
- Showing Equivalent fiat Values
- Follow BTC Transaction
- Show Historical Balances
- Expand local database for contacts
- Add new BTC/altcoin Contact
- Share Contact Address
- Import contacts
- Create v10 QR Code support for reading eReceipt data, etc
Stealth related:
More snark proof testing:
https://github.com/kenCode-de/graphene/commit/7007739e672f30e99b51e8e1875591689cbcea62
Snark gadget tests:
https://github.com/kenCode-de/graphene/commit/0318e5cb7b34da458a7a436c0a1bb3fc99fb69d8
We are expanding the api a bit this weekend so that the UI connections can be made properly. Once the api is to a point where I feel comfortable with it and we make the initial connections to the UI, then I will invite the community to start hammering on it with me, see if we can break it. That is a few weeks off yet, but I will post about it here as soon as I can. Everything is looking great and right on schedule so far though.
Alfredo Garcia, Bitshares Core Dev update:
Done:
asset api added 2 functions:
https://github.com/bitshares/bitshares-core/pull/226 merged
added list of assets created by account to get_full_accounts api function:
https://github.com/bitshares/bitshares-core/pull/229 merged
Remove "no subscription warning" - researched:
https://github.com/bitshares/bitshares-core/issues/174
Fixed in commit/a3cfa1055edb016d8d3b80258657862668f8598f#diff-37f216b941581cfd05361cdd1e765305
get_account_history in API-0 without login.
https://github.com/bitshares/bitshares-core/issues/105
This was resolved in PR from elmato (code referenced by xeroc):
https://github.com/bitshares/bitshares-core/pull/223 merged
full_accounts needs list of assets created by that account
https://github.com/bitshares/bitshares-core/issues/101
This was done and pull request is at:
https://github.com/bitshares/bitshares-core/pull/229 merged
full_accounts needs list of withdrawal permissions from and to that account
https://github.com/bitshares/bitshares-core/issues/230
https://github.com/bitshares/bitshares-core/pull/232 merged
Now in progress:
Websocket “spamming too much data” issue
https://github.com/cryptonomex/graphene/issues/540
Resolving here: https://github.com/bitshares/bitshares-core/issues/231
waiting on elmato and sigve contributions
Find a way to reduce the amount of bytes that are sent and/or received over the internet. EVERY byte counts. (remember my vending machine conversation).
spamming issue above must come first
support multiple transfer ops in a single transaction if possible. xeroc (on telegram) already coded this for the peerplays project, so will work with him and acquire that code.
Don't print private keys in log on witness startup
https://github.com/bitshares/bitshares-core/issues/93
api call to obtain an account's trad history for a specific asset-pair
https://github.com/bitshares/bitshares-core/issues/222
Uninstall light client does not remove "personal info"
https://github.com/bitshares/bitshares-core/issues/227
It's nice to see all of these issues being knocked out so fast.
Anyway, expect to see another release of both the Smartcoins Wallet and BlockPay in the next day or two, LOTS of great stuff coming your way.