Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - xeroc

Pages: 1 ... 4 5 6 7 8 9 10 [11] 12 13 14 15
151
General Discussion / Devs NEED to reach out to freenode operators ASAP
« on: November 12, 2014, 09:47:40 am »
Just now:
Code: [Select]
06:04:04 -!- TwoKoolFourSkewl changed the topic of #bitshares to: BenShares - FederalReserve.gov
06:05:46 -!- TwoKoolFourSkewl changed the topic of #bitshares to: BenShares - FederalReserve.gov - "What If YOU Had The Chance To Invest In The Federal Reserve in 1920!"
no response in a private channel to him.

this is PRETTY BAD PR!!!

Some months ago I already talked to a admin @freenode and they have a policy to have public channels for open source projects. It should be absolutly now issue if someone owning a mailaddress  @bitshares could reach out to the admins of freenode

From
https://freenode.net/faq.shtml#gettinghelp
Code: [Select]
/stats p
on irc gives you the currently available admins (volunteers) ... they can help out here!

whoever wants to be responsible for the channel require a registered name on the freenode network.

paging:  @bytemaster @toast @Stan @MktDirector

152
General Discussion / [Proposal] Deterministic Initial Wallet Key Generation
« on: November 07, 2014, 07:29:08 am »
As we had some issues with newcomers not backup up their wallets properly (the passphrase is not a brainwallet as in NXT) .. I'd like to propose a new initial scheme for the generation of the wallet master key (which is used to derive account keys)
It's quite simple and those of you that have a keyhotee founder id should be pretty familiar with it:

1) the first time a user opens up the wallet he will be asked to enter the following information:
  - first name
  - last name
  - id number
  - mail address
  - birthday
  - BRAINWALLET / passphrase / secret .. or something else that is SOLELY used to generate the key
2) generate the private key according to
   HASH(first name + last name + id number + mail + birthday + brainwallet)
3) Further ask for a passphrase to encrypt the private key after generation
  store ENCRYPT(HASH)
4) done

This way you can force the user initially to make a backup of the most important private key (the wallet master key) and thus also makes a backup of all further used keys as they are hierarchically derived from it!

Note, that basically all (except one) user input can be considered OPTIONAL .. they are only there to increase the entropy ..
the user should be told that no information he enters is stored anywhere ..

Thoughts?

153
General Discussion / The snapshot only concerns PTS and DNS!! NOT BTSX!!
« on: November 06, 2014, 09:37:06 am »
I noticed people are selling BTSX now ...
maybe they are unaware of the fact that BTSX is not snapshotted .. it will not be "airdropped" ... it will be UPGARDED

and as such, if you sell you BTSX now (after the snapshot - which makes not sense) .. then you also sell you BTS!

Just my 0. 2BTS

154
Those of you that registered a name on the blockchain might have noticed that you can store a JSON object associated with your registered name on the blockchain, such as website, mail, ...

I'd recommend we start a discussion about which data active delegates should publish together with their name. This would involve a (not-so-regular) update-transaction. Nothing to special.

Those are the fields I personally would like to see for active delegates:

- website (campaign for the delegate)
- pgp/gpg fingerprint
- mail
- scripthash for price feed script
- delegate slate
- maintainer TITAN address

optionally those keys could could also be published:
- skype
- icq
- twitter
...
- bitmessage
- donation TITAN address
- forum handle
...

What's your view on this? Do we need this? Not required? Should we someday adjust our votes to reflect those entries to?

Disclaimer: My public json data currently only contains the slateID!


Thoughts?

156
General Discussion / We need a security page
« on: November 02, 2014, 12:06:22 pm »
Now, having BTS a single product mainly maintained by I3 (later by the blockchain) .. we need a team of security experts that can handle code issues found by white/gray hats.

As a reference: http://satoshilabs.com/security/

Please also publish some PGP pubkeys!

157
General Discussion / Collecting donations for tip4commit on BitShares?!??
« on: November 02, 2014, 11:53:30 am »
Would it make sense to collect donations for BitShares and put them into Tip4Commit?
That way we might be able to get more developers at least "interested" in looking into the code and pushing commits ..

we as much as 1.5 BTC we can get pole position in the project list:
https://tip4commit.com/projects

Thoughts?

158
General Discussion / [BestPractice] DelegateVoting for End-Users
« on: October 29, 2014, 07:01:05 pm »
Hey there,

i couldn't find the a list of properties that should be fulfilled by a delegate to be approved (in general).
My thoughts are that we should have a set of rules (community/shareholder approved) that gives newcomers an idea of which properties are important when voting for delegates.

Consider the following a DRAFT ... and INCOMPLETE:

Vote on a regular basis
Voting helps to keep the competition between delegates alive. Vote as regular as possible, preferably every few weeks.

Do not trust delegates of secret, private or closed businesses
The sole purpose of the delegates are to secure the network independent of their pay. Playing with open cards should be honored while secretly operating delegates should be avoided.

Do not trust groups or teams of delegates
The more delegates a business controls, the more centralized the network becomes. While small groups of only a few delegates per business can be accepted for a short period of time, a permanent active group of delegates should be avoided.

Arrangements or collusion between delegates should result in an immediate disapproval
Under no circumstances should colluding delegates receive any approvals. Arrangements and collusion that become publicly known should be disapproved ASAP.

Prefer delegates that can be linked to known individual
Although a not defined number of anonymous delegates should be tolerated, the gross majority of individuals running a delegate should be publicly known in person. The definition of "publicly known" is entirely up to the voter.

Do not trust any web page telling you how to vote!
Review all sets of delegates/slates offered to you


Further delegate properties that should be included in the voters considerations (random order):
* already voted in and actively producing blocks?
* reliability?
* payrate?
* publicly known owner of the delegate?
* regularly publishes feeds
* up-to-date node software?

Please discuss!

159
Stakeholder Proposals / Four new delegates just appeared in the TOP10
« on: October 28, 2014, 12:55:26 pm »
It seems that a large stakeholder (probably a set of several stakeholders) decided to put some delegates in the active list



That party seems to have access to roughly 15% of the BTSX stake.

I'd kindly ask for the new delegates to introduce themselves!
Further, I'd recommend to publish feeds for the assets also!

Personally, I hope this is not one of the major exchanges as (IMHO) they are not supposed to vote for anybody using costumers funds!

160
General Discussion / AUSTIN (TX) 7th December
« on: October 21, 2014, 08:40:22 pm »
Hey there,

I will be in Austin (TX) for a week and will probably join the Bitcoin Meetup in Austin on Sunday 7th December ..

Besides me, another well-known member of the community  (who doesn't want to be named publicly) will be there too.
So we are at least two in Austin .. and if I am fine from jetlag .. I will join evangelize the Bitcoin people there :)

Please let us know I you want to join!

161
General Discussion / How's the MarketMaker supposed to earn profit?
« on: October 21, 2014, 02:38:43 pm »
Can someone please explain to me how the "market maker" in .. say bitUSD/BTSX is supposed to *earn* money?
From what I understand, the marketmaker earns profit no matter the direction of the market ... but could in theroy earn more when bet on one side of the market instead ..

Could someone elaborate the market maker (in regards to the market maker bot of BM and toast) please?

Thanks

162
General Discussion / Atomic Cross Chain Trading
« on: October 18, 2014, 12:33:15 pm »
For those that did not attend the latest dev hangout, BM briefly explained how cross-chain trading would work.
However, he also stated that ACCT is very low in priority as they see more value from developing escrow ... (imho they are right)

Anyway, I'd like to also let you know how ACCT works.

Let's assume we have Alice wanting to trade 1 bitUSD on BTSX chain for 1 bitUSD
on the DNS chain. Bob wants to do the same .. but the other way round.

Alice goes first (could also be Bob) .. and generates a random passphrase. Let's say

Passphrase: AlIcETraDesWithBoB1USD

Alice generates the hash of the passphrase and gets something like

hash(Passphrase): afb39ca02949c0ae4a6a44e8eef5242fd81bd93072d82ebff145743c1910c098

Alice uses a new kind of transaction (not so new.. it's already in the blockchain and called withdraw_password_type) ..
that transaction goes towards bob and has the following rules

- the transaction is going TO bob
- it has a expiration of .. say 24h .. after that only alice can claim the transaction again
- bob can claim (within 24h) .. ONLY if he knows the password

Alice broadcasts this transaction in the BTSX chain and thus "transfers" the
funds to bob .. who will only be able to claim the shares if alice tells the password!

In the meantime, Bob creates a new transaction in the DNS chain. That
transaction goes to the account name of alice, and uses the exact same hash of
the passphrase (bob see that passphrase from alice's transaction in the btsx
chain) .. and he set's a expiration of less then 24h ..

So, if alice wants to have her shares in the DNS chain, she needs to reveal the
password in order to claim the withdraw_password_type-transaction in DNS.
By doing so, Bob sees the passphrase and can take his shares in the BTSX chain,
beacuse it uses the same passphrase.

Tada .. everything worked out .. everybody happy :)

Remarks:

- It is crucial to have the the second transaction (bob does not know the
passphrase) .. expire WAY earlier than the first transaction to ensure that
alice cannot reclaim an EXPIRED ACCT transaction

- It is crucial (as usual) that the passphrase is chosen securely, and randomly!!

Anything I forgot to describe? Anything unclear?

163
General Discussion / Trading Bot for BTSX
« on: October 18, 2014, 12:07:12 pm »
I just now pushed a new bot I wrote ...

https://github.com/xeroc/btsx_bots

In particular the trading strategy/bot:
https://github.com/xeroc/btsx_bots/blob/master/bots/market_balance.py

For those that have been familiar with goxtool
(http://prof7bit.github.io/goxtool/) [scary reference to some long forgotten
centralized service] -- that bot should basically do the same as the 'portfolio rebalancing'
strategy of goxtool. (https://bitcointalk.org/index.php?topic=181584.0)
I haven't compared the code though!

Related theory: http://en.wikipedia.org/wiki/Rebalancing_investments#Rebalancing_bonus

It's "supposed" to keep the wealth split evenly among two assets and trades
when the market moves into either direction ..

Code: [Select]
{
"bot_type": "market_balance",           // bot name (fixed)
"account_name": "balance.bot.account",  // your account name (should be used ONLY by this bot)
"spread_percent": 0.05,                 // trades on prices moves +-5%
"asset_pair": [   
"USD", "BTSX"                   // trades in USD/BTSX in this case (first is quote, second is base)
],
"min_base_balance": 10,                 // minimum BTSX to keep
"min_quote_balance": 10                 // minimum USD to keep
},

Example output for the balancing bot:
Code: [Select]
~/btsx_bots$ python3 main.py config.json
INFO:MarketMakerBot:1 open orders -> Market has moved and order was executed! Canceling the other!
INFO:MarketMakerBot:freeing up 0.00000000  BTSX
INFO:MarketMakerBot:freeing up 66.84839000   USD
INFO:MarketMakerBot:available:   2877.65776000  BTSX            and              65.13140000   USD
INFO:MarketMakerBot:buy:           67.83787128  BTSX for price      0.02526589 -- pay      1.71398421   USD
INFO:MarketMakerBot:sell:          68.51566095  BTSX for price      0.02792546 -- get      1.91333119   USD
INFO:MarketMakerBot:submitting orders!

Remarks:
  • No external price fetching required! (running this bot only makes sense on matured markets)
  • The code is supposed to work on any asset pair as long as the market is open and the base asset has a lower id on the blockchain
  • The bot requires an initial equal distribution and if this is not the case in your account would order @ market prices  (asks for manual confirmation of orders for the initial trades) -- remark: be carefull here as the market price is taken from the btsx exchange, not from an external exchange/price feed
  • The bot places orders at +-SPREAD and allocates an amount such that after the (complete) trade has been filled, both assets hold the "same" wealth.

Todo
  • Take external price for initial balancing and wait for order to be filled
  • Set a minimum trade size
  • Incorporate trading feeds

DISCLAIMER:
- I used this to learn how to write a bot in python
- don't use with serious money unless you know what you are doing and checked the code
- I currently run one bot for USD/BTSX and CNY/BTSX with low volume to check trades, seems to work so far


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


Thought, critiques appreciated ..

164
Hey friends,

i just found a nice page which we could use to collect the (approx) locations of community members.
The features are:

 * Sign-Up Not Required
 * Custom Fields
 * Map Images
 * Multimedia
 * Customizable Icons
 * Color Regions
 * Marker Groups
 * Entry List
 * Moderated Additions
 * Private Mapping
 * GeoSearch
 * Edit Grids

I have not yet extensively tested the platform but I think we can start from there and export all added locations if required.

view only: http://www.zeemaps.com/view?group=1162907&x=-80.400616&y=37.224179&z=6
add you location: https://www.zeemaps.com/map?group=1162907

Note: Please only add your home town and maybe not put the market at your own house :)


165
Stakeholder Proposals / Backup strategie for delegates - idea
« on: October 11, 2014, 07:03:05 pm »
Hey friends,

Lying in bed I came up with an idea that might "solve" the issue with backup
delegates producing forks accidentally.

TL;DR; use the update_active_key feature on failure of the master node

so basically, the delegate signs blocks with its active key and not the owner
key (TODO: check with BM about this).
I assume you have two machines with the delegates owner key imported. both are
in sync regarding the "list of active keys" and the corresponding private keys.

Now, when the master note is not reachable by the backup node anymore (due to
unkown reasons) but you cannot be sure that the master node is maybe still
active and connected to the network, you could end up with two delegates
signing a block which forks the network. This is status quo and the biggest
problems for the backup strategy.

Now I think we can solve this by the following:
1) the backup node thinks the master node is offline
2) the backup node creates a new key active key for the delegate and enables block production
   this key can be produced in a way that the master node has no chance of figuring it out.
3) thus, the master node is UNABLE to continue producing blocks. Its simply not
   allowed to produce blocks with an obsolete key (don't ask me what the master
   node does in this situation, maybe crash)
4) the end result however is a backup machine that solely is allowed to produce
   blocks.

This can be extended to a set of backup machines by scanning all transactions
which change the active key of a particular delegate. Different backup
delegates can jump in on different delays if any node before it "fails to
deliver" a valid block. (reminds me of RAFT)

Thoughts?

Pages: 1 ... 4 5 6 7 8 9 10 [11] 12 13 14 15