Bitcoin Forum
May 13, 2024, 09:31:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [26] 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 »
501  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt source code flaw reports on: January 08, 2014, 05:09:50 PM
I just imagine, that node do number of requests in loading thread, and between that requests peer can change tail of it's blockchain. Just because there's no such entity like "locading session".
In best case it just add new block. In worst case it can switch to another fork below common block.
It's too late here, so I refuse to analyse what we get in that case Smiley
To protect "loading session" we can add response parameter "lastBlockHash" to all requests since the "getCumulativeDifference", and if it is changed - abandon all blocks and changes we got from that peer already.
502  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information on: January 08, 2014, 04:42:51 PM
How can you block alias which is just a part of transaction in blockchain?
It's a feature of client software (again) - to protect user from internet danger. Like child/parent control in AV software, white/black lists and so on. You can setup service and sell it to Nxt'ers, but it's not a part of decentralized Nxt network.

You can add rank to each alias on the blockchain, which clients can use.

If reliable voting can be implemented.
Hmmm... Yes, voting can help.
503  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information on: January 08, 2014, 04:36:49 PM
Google is centralized.

Well, there has to be a solution. Would voting system help? Several users will vote an alias down...

Actually, maybe a full-blown alias rating? For scammers, who don't trade honestly and stuff like that?

Something like a democratic Google Page Rank Smiley

How can you block alias which is just a part of transaction in blockchain?
It's a feature of client software (again) - to protect user from internet danger. Like child/parent control in AV software, white/black lists and so on. You can setup service and sell it to Nxt'ers, but it's not a part of decentralized Nxt network.
504  Local / Альтернативные криптовалюты / Re: [NXT] Nxt crypto - немного инфы, и самих NXT. on: January 08, 2014, 04:32:32 PM
Насколько я понял опытным путем -даже перекачивать ничего не нужно. Просто выйти и войти опять.
Перекачивать давным давно ничего не нужно. Бывает, из bak-файлов восстанавливать приходится.
505  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information on: January 08, 2014, 04:30:54 PM
I'd like to see spending limits. For example so that I could only spend a maximum of 100 NXT/day from an account. Trying to steal this account would be less profitable.
Btw, there can be arbitraty time limits, not only daily. There's no difference in processing any time ranges at software.
506  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt source code analysis (QA) on: January 08, 2014, 04:25:41 PM
He definitely has an agenda and strong knowledge of Java, I think we could give him a collective group hug and try to bring him on board with Nxt.
I see he have knowledge in Java, but do not see any proof that it is strong.
He doesn't found any actual problem except well-known "one big file", "no unit tests", "empty catch blocks", "we all will die".
507  Local / Альтернативные криптовалюты / Re: Sifcoin (Инфляционый форк). Старт 2013-06-23. on: January 08, 2014, 04:23:36 PM
Нигде. Вот как дойдем до сложности в тыщу - так сразу Smiley
Пока что "difficulty" : 370.90909091.
508  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information on: January 08, 2014, 04:16:04 PM
Brainstorming

I'd like to introduce a concept of a new feature called Account Control. This feature will allow to do different things with ur accounts. For example, u will be able to set a lock on an account to prohibit any outgoing transactions until a special condition met (e.g. an incoming transaction from a predefined account). Another example is Pooled Forging, when an account leases its forging power to another account.

Please, post here what u would like to see in Account Control.

Can we set it so that outgoing transactions are enabled only in specific hours, or in some interval of time ( for example only between 11:30 p.m. and 11:50 p.m., or only on  1st January?)
It start to looks like "account setup transaction". I like the idea:
1. Block all coins from spending.
2. Block some coins from spending.
3. Set blocking time.
4. Allow to send coins only to specified account.
5. Combine that settings, so in different time there can be different number of coins blocked.
509  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt source code flaw reports on: January 08, 2014, 04:11:32 PM
Seems like there's vector of attack. Not very deadly, but...

When some peer ask attacker's node for cummulative difficulty, nothing prevents this node to ask that peer's difficulty at the same time, and return some greater number.
Then on request for milestone from same peer, attacker will return just one milestone block id, 720 ids lower than latest block.
Than on request of next blocks attacker will return just one block, keep itself free from big traffic.
Note, that this attack doesn't broke attacked node, it's blockchain and even cumulativeDifficulty, which is calculated dynamically from blockchain. It's just shrink blockchain on attacked node, strip last 720 blocks from it.
On the next second attacked node do the same loop and asks another, good peer for that 720 blocks, generating some amount of traffic between good nodes.
Attacker's node will not be blacklisted. This attack will almost not be visible in clients. There will be some jumps in last blocks for a seconds, no more.

Not very danger attack Smiley Just some thoughts.
510  Local / Альтернативные криптовалюты / Re: [NXT] Nxt crypto - немного инфы, и самих NXT. on: January 08, 2014, 03:50:07 PM

Спасибо тебе, добрый человек, а можно своими словами для тех, кто в школе учил китайский, например ?
А я не пользовался Smiley У меня и VPS нету. Я просто знаю, что народ тащится от этой методики.
А переводить - нет уж, увольте. Я лучше ещё в сырцах поковыряюсь.
511  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt source code flaw reports on: January 08, 2014, 03:40:10 PM
The problem I try to note is that on step 2 and 3 we produce a lot of unnecesary traffic. Yes, most time it stops on step 1, but when new block is arrive, network start to move a lot of bytes. And this traffic can be lowered.

Let's rewrite the algo. What's ur proposal?

1. Add lowestHeight to "getMilestoneBlockIds" request.
Code:
int lowestHeight = Math.max(0, Block.getLastBlock().height-720);
Just because we will not download blocks deeper anyway.

2. In response for "getMilestoneBlockIds" use another logic and send first block ids tightly:

Code:
int lowestHeight=...;
int jumpLength=1;
int maxJumpLength = block.height * 4 / 1461 + 1;

while (block.height>=lowestHeight) {
    milestoneBlockIds.add(convert(block.getId()));
    for (int i = 0; i < jumpLength && block.height>=lowestHeight; i++) {
        block = blocks.get(block.previousBlock);
    }
    jumpLength=Math.min(jumpLength*2, maxJumpLength);
}
milestoneBlockIds.add(convert(block.getId())); // just to be sure...

It gives us 12 ids in milestone request and 2-4 ids in getNextBlockIds request most time.
512  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information on: January 08, 2014, 03:23:11 PM
And let me know about it before. Wink
Yep, closed circle of initiated ones. But still decentralized, as BCNext entrusted.

U also could join the circle. Just let BCNext to bite u...
I am Immortal one. It doesn't work for Us.
Are BCNext's bites are decentralized?
513  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt source code flaw reports on: January 08, 2014, 03:20:21 PM
Yes, I'm failed with elementary math Cheesy
Code:
int jumpLength = block.height * 4 / 1461 + 1;

It returns 365 blockIds everytime, so when one year will pass, milestone ids will be one for each day.
So we have more or less the same response for "getMilestoneBlockIds", but longer and longer for each "getNextBlockIds".
Are all rest assumptions correct?
I see a lot of unnecessary traffic, every second.

If u catch blocks from genesis block then yes, more and more traffic will be required.
Hmmm...
Let's "debug" it step-by-step.

1. Get peer's cumulativeDifficulty.
Okey, let's assume that peer have higher difficulty, so it have more blocks, then we are. And assume simplest case: we are on same chain, but peer has newer block or two.

2. Get milestones.
We get the array of ids. The first id from array is the latest block id from peer. We definitely have no such block, just because we have lower cumulative difficulty.
But next block id is common for our node and peer. For today it is about 100 blocks down to chain.

3. Get next block ids starting from common.
We get about 100 ids in response. Then find that common one is 98th. Or 99th.

4. Get new block or two from peer.

The problem I try to note is that on step 2 and 3 we produce a lot of unnecesary traffic. Yes, most time it stops on step 1, but when new block is arrive, network start to move a lot of bytes. And this traffic can be lowered.
514  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information on: January 08, 2014, 03:08:55 PM
Brainstorming

I'd like to introduce a concept of a new feature called Account Control. This feature will allow to do different things with ur accounts. For example, u will be able to set a lock on an account to prohibit any outgoing transactions until a special condition met (e.g. an incoming transaction from a predefined account). Another example is Pooled Forging, when an account leases its forging power to another account.

Please, post here what u would like to see in Account Control.

I want to assign an automatic payment on any date. For example, if I have to constantly make payment for some days.

It's feature of client software.
515  Local / Альтернативные криптовалюты / Re: [NXT] Nxt crypto - немного инфы, и самих NXT. on: January 08, 2014, 03:08:00 PM
опять все упало, блоки от ноября, -2600, хотя версия 0.5.3
Аналогично, падает. Это место не чинят. Приходится перезапускать.
Такое ощущение, что когда браузер не запущен, то так не падает никогда.

Из бэкапа поднял.
Но возникает вопрос - как такие вещи автоматизировать ? Если локально вылезает сообщение что плагин браузера крашнулся, и можно начать телодвижения, то как народ мониторит на удаленных серверах это дело ?
Я свой вот-вот ставить собрался, а тут такое.
https://nextcoin.org/index.php/topic,1943.0/topicseen.html
516  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information on: January 08, 2014, 03:04:28 PM
Panic buying is going on @dgex Smiley

Hell, next time I should buy before announcing new features...

(kidding)

And let me know about it before. Wink
Yep, closed circle of initiated ones. But still decentralized, as BCNext entrusted.
517  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information on: January 08, 2014, 03:02:34 PM
Panic buying is going on @dgex Smiley
Hamsters smelled something in the air...
BUY!!!11111
518  Local / Альтернативные криптовалюты / Re: [NXT] Nxt crypto - немного инфы, и самих NXT. on: January 08, 2014, 03:00:42 PM
опять все упало, блоки от ноября, -2600, хотя версия 0.5.3
Аналогично, падает. Это место не чинят. Приходится перезапускать.
Такое ощущение, что когда браузер не запущен, то так не падает никогда.
519  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt source code flaw reports on: January 08, 2014, 02:54:26 PM
Yes, I'm failed with elementary math Cheesy
Code:
int jumpLength = block.height * 4 / 1461 + 1;

It returns 365 blockIds everytime, so when one year will pass, milestone ids will be one for each day.
So we have more or less the same response for "getMilestoneBlockIds", but longer and longer for each "getNextBlockIds".
Are all rest assumptions correct?
I see a lot of unnecessary traffic, every second.
520  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information on: January 08, 2014, 02:47:17 PM
Brainstorming

I'd like to introduce a concept of a new feature called Account Control. This feature will allow to do different things with ur accounts. For example, u will be able to set a lock on an account to prohibit any outgoing transactions until a special condition met (e.g. an incoming transaction from a predefined account). Another example is Pooled Forging, when an account leases its forging power to another account.

Please, post here what u would like to see in Account Control.

Both features you mentioned are Great. The locked account can be a saving account. Or it could be used as a escrow monitored account as the escrow account is the predefined account. Tremendously helpful.

Can a locked account forge ?
Yes, it must be able forge or this feature have no meaning.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [26] 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!