CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
|
March 21, 2014, 03:14:41 PM |
|
Awesome, check your messages, I sent you a proposal that solves one of the problems with a huge bounty on it but requires multi-sig with more than 3 signers to work, and please get back to me regarding how doable that is.
Understand also that AT will be able to effectively do "multi-sig" in the following way: 1. Create an AT and send it funds which it will return after x blocks if required conditions are not met or send funds to another account if conditions are met. 2. The AT is given x account ids that it knows about - to "sign" each account just sends an AM to the AT. Once the AT has *enough* of these AMs (from the required accounts) then it can *release* the funds to the "destination account". The beauty of the AT approach is the rules don't have to be as simple as 3 of 5 (you could do all sorts of things such as say "weighting" the accounts).
|
|
|
|
|
ChuckOne
Sr. Member
Offline
Activity: 364
Merit: 250
☕ NXT-4BTE-8Y4K-CDS2-6TB82
|
|
March 21, 2014, 03:18:22 PM |
|
Version 0.3.1 of my article: http://www.docdroid.net/abp9/forging0-3-1.pdf.htmlAdded a new section about splitting of accounts. Conclusions: - Under Exp-algorithm, the probability that an account with relative active balance b generates the next block is exactly b; if all relative balances are small, then the U-algorithm essentially works the same way as the Exp-algorithm. - In general, splitting has no effect on the (total) probability of block generation under Exp-algorithm, and this probability always decreases under U-algorithm. However, the difference is usually not very significant (even if the account is split into many small parts). - Thus, neither algorithm encourages splitting (anyhow, there is some cost in maintaining many forging accounts, so, in principle, there is no reason to increase too much the number of them in the case of Exp-algorithm as well). The reader should be warned, however, that all the conclusions in this article are valid for mathematical models, and the real world can introduce some corrections. - In particular, it should be observed that, if the attacker could harm the network by splitting his account into many small ones, then a very small gain that he achieves by not splitting would not prevent him from attacking the network. If this attacker's strategy presents any real danger, we may consider introducing a lower limit for forging (e.g., only accounts with more than, say, 100 NXT are allowed to forge). Review will follow as usual. EDIT: maybe, you could elaborate more on the last point you made
|
|
|
|
bitcoinpaul
|
|
March 21, 2014, 03:21:14 PM |
|
Yeah, this explorer doesn't work right.
|
|
|
|
bitcoinpaul
|
|
March 21, 2014, 03:22:13 PM |
|
Please discuss what happens when an AT is coded wrong and execution problems arise. thnx Good questions. Another question: What is the procedure to make an AT?
|
|
|
|
mthcl
|
|
March 21, 2014, 03:22:20 PM |
|
Thanks! There is even one theorem about Nxt now So I hope your new efforts are going to be rewarded (hint to whales) and that you will also consider modelling the BCNext proposed TF approach (with "penalties" which you can ask CfB about). This sort of scientific work is very beneficial for the Nxt project IMO. Yeah, I would be very interested in analyzing the TF, but for this I need a mathematical model... I remember I discussed this with CfB some weeks ago, but at the end we didn't come to any conclusion about the precise details of the TF implementation. But maybe since then it became more clear?..
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
|
March 21, 2014, 03:23:07 PM |
|
Please discuss what happens when an AT is coded wrong some and execution problems arise.
Very good point - in particular this is why my design is to imitate a very simple "instruction set" (rather than aim at "higher level language" although I foresee this will be added down the track). Bugs can (and will) occur. In particular there will be the question of what to do upon a "fatal error" (say an attempt to access memory that is *out of range* or to jump to an address that is *invalid*). I have suggested in my spec that we might want to have some "flags" to cover these scenarios in the creation of the AT itself (such as "restart on malfunction").
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
|
March 21, 2014, 03:26:27 PM |
|
Good questions. Another question: What is the procedure to make an AT?
It will just be a special kind of transaction - but basically you'll need to use some sort of "form" to plug in some values (such as how much memory it needs) then the "machine code" and "initial data" bytes would need to be pasted in (yes - it will be a bit like "voodoo" at first - much like Bitcoin "raw transactions" are).
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
March 21, 2014, 03:27:46 PM |
|
But maybe since then it became more clear?..
Do u have any ideas how it's better to implement Transparent Forging? The goal is to find an optimum where we can predict few blocks in advance but noone could game the system by preparing such accounts that he would be able to forge a lot of blocks in the row.
|
|
|
|
bitcoinpaul
|
|
March 21, 2014, 03:31:17 PM |
|
Thanks! There is even one theorem abou Nxt now So I hope your new efforts are going to be rewarded (hint to whales) and that you will also consider modelling the BCNext proposed TF approach (with "penalties" which you can ask CfB about). This sort of scientific work is very beneficial for the Nxt project IMO. +1
|
|
|
|
BrianNowhere
|
|
March 21, 2014, 03:36:45 PM |
|
with AT you can safely trade 1 Asset for another, with AT you can safely lock your savings away while earning interest and with AT you can buy a ticket every week in what will be arguably the world's most efficient lottery!
Are saying you have basically achieved a way to do trustless, peer to peer cross asset trading? If so, Ripple is a dead man walking and there's only Etherium left on the road to Nxt's complete dominance. NXT- Why go to the moon when you've conquered Earth?
|
NXT: 4957831430947123625
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
|
March 21, 2014, 03:37:29 PM |
|
Smart... can't really do a "return funds on malfunction" because then people could intentionally insert bugs.
Indeed - and this is why any such "behavior" for a "severe fault" needs to be clearly "documented" (so the "buyer" can "beware"). No doubt there is going to be a business for creating/validating ATs and even "insuring" them.
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
|
|
March 21, 2014, 03:38:04 PM |
|
Are saying you have basically achieved a way to do trustless, peer to peer cross asset trading?
Yes - I am.
|
|
|
|
achimsmile
Legendary
Offline
Activity: 1225
Merit: 1000
|
|
March 21, 2014, 03:39:17 PM |
|
Thanks! There is even one theorem about Nxt now Wow, very interesting! (Although I can't follow all of the math ) So for the non-geeks under us, you have shown that Nxt is immune to sybil attack! "in order to maximize the probability of generating the next block, all NXT that one controls should be concentrated in only one account."
|
|
|
|
bitcoinpaul
|
|
March 21, 2014, 03:40:13 PM |
|
Are saying you have basically achieved a way to do trustless, peer to peer cross asset trading?
Yes - I am. Mars.
|
|
|
|
mthcl
|
|
March 21, 2014, 03:40:58 PM |
|
Version 0.3.1 of my article: http://www.docdroid.net/abp9/forging0-3-1.pdf.htmlAdded a new section about splitting of accounts. Conclusions: - Under Exp-algorithm, the probability that an account with relative active balance b generates the next block is exactly b; if all relative balances are small, then the U-algorithm essentially works the same way as the Exp-algorithm. - In general, splitting has no effect on the (total) probability of block generation under Exp-algorithm, and this probability always decreases under U-algorithm. However, the difference is usually not very significant (even if the account is split into many small parts). - Thus, neither algorithm encourages splitting (anyhow, there is some cost in maintaining many forging accounts, so, in principle, there is no reason to increase too much the number of them in the case of Exp-algorithm as well). The reader should be warned, however, that all the conclusions in this article are valid for mathematical models, and the real world can introduce some corrections. - In particular, it should be observed that, if the attacker could harm the network by splitting his account into many small ones, then a very small gain that he achieves by not splitting would not prevent him from attacking the network. If this attacker's strategy presents any real danger, we may consider introducing a lower limit for forging (e.g., only accounts with more than, say, 100 NXT are allowed to forge). Review will follow as usual. EDIT: maybe, you could elaborate more on the last point you made Thanks in advance! About the last point: in the mathematical model we are considering, splitting is completely harmless. But, maybe, there are other attacking possibilities that the splitting gives in the real world: spam the network, affect its topology, ..., ... I don't know, I'm not a specialist here. In the case there are such possibilities, we may consider introducing this lower limit, so that the number of accounts that participate in forging cannot become too big.
|
|
|
|
BrianNowhere
|
|
March 21, 2014, 03:43:39 PM |
|
Version 0.3.1 of my article: http://www.docdroid.net/abp9/forging0-3-1.pdf.htmlAdded a new section about splitting of accounts. Conclusions: - Under Exp-algorithm, the probability that an account with relative active balance b generates the next block is exactly b; if all relative balances are small, then the U-algorithm essentially works the same way as the Exp-algorithm. - In general, splitting has no effect on the (total) probability of block generation under Exp-algorithm, and this probability always decreases under U-algorithm. However, the difference is usually not very significant (even if the account is split into many small parts). - Thus, neither algorithm encourages splitting (anyhow, there is some cost in maintaining many forging accounts, so, in principle, there is no reason to increase too much the number of them in the case of Exp-algorithm as well). The reader should be warned, however, that all the conclusions in this article are valid for mathematical models, and the real world can introduce some corrections. - In particular, it should be observed that, if the attacker could harm the network by splitting his account into many small ones, then a very small gain that he achieves by not splitting would not prevent him from attacking the network. If this attacker's strategy presents any real danger, we may consider introducing a lower limit for forging (e.g., only accounts with more than, say, 100 NXT are allowed to forge). This is the kind of stuff that Nxt needs. 50 Nxt coming your way.
|
NXT: 4957831430947123625
|
|
|
gs02xzz
|
|
March 21, 2014, 03:49:26 PM Last edit: March 21, 2014, 04:02:52 PM by gs02xzz |
|
+1. This should be in the white paper along with the economic paper. Thanks.
|
|
|
|
bitcoinpaul
|
|
March 21, 2014, 03:49:59 PM |
|
What are the planned operations in AT?
|
|
|
|
Daedelus
|
|
March 21, 2014, 03:50:37 PM |
|
Are saying you have basically achieved a way to do trustless, peer to peer cross asset trading?
Yes - I am. One for the history books, remember where you were
|
|
|
|
|