[Idea] NuLaw - 60 NBT bounty!

Maybe it can be one motion basically with 6 new verifiable hashes for each proposal referring to the original threads?

I suppose that works. You know I was thinking more about this. Maybe even the python verification script should be part of the NuLaw repo. Like, changes to the script need to be voted on as well, because the script will need to be hard coded to ignore some hashes that are shown in the client. Maybe any scripts or changes to scripts that manage NuLaw itself need to be voted upon.

Just a thought. I dunno if it’s over-complicating the process. I suppose if the script follows the text of a given motion in how it operates then it should be fine to hard code some values to ignore. I would like to spend a little more time trying to recreate the old hashes. It may seem like just a wrinkle to the process but for me it feels like a lot more.

1 Like

Won’t be easy, maybe indeed going back to an old Firefox version as a first step? Going back to an old Discourse version with an old backup will be a bit harder.

I don’t think we should hardcode to ignore. I suspect they will be read into a database or such and than considered to be invalid. By re-creating motions with correct hashes the system would recognise those new motions as being the only ones correct. The date stamping would be read from the blockchain anyway as it is not part of the text of the motion. Maybe a submission date should be added to motion texts, in order to reduce the risk of some types of fraud in the future.

As with any code some people will need to verify it ensuring it does what it says it does, whether that is an independent audit or a number of Shareholders approving changes is up for discussion and may change when the stakes will become higher.

I’m not sure why I can’t recreate the hash for the open source motion, it’s frustrating me because I know that it would have been confirmed multiple times when it was released by more than just myself.

I have a couple of local files on another machine that I can check to see if I can find the originally formatted Markdown that I’ll review when I get back to my house later this morning.

Slightly off-topic again, but figured this was worth looking at: https://medium.com/@PaxDirectory/codex-a-legal-scripting-language-e3723cc76662#.zfvtsfabg

2 Likes

Posting a link here for tracking purposes.

Am I correct in my impression that the validation script will go through the blockchain looking for passed motion hashes and match them up with the ones in motions.json, calculating the hash of … Base64-decoded content-b64? Is hash-content equal to the decoded content-b64?

Good questions. I didn’t clarify those points. I’m not even sure this is the right way to go about the process, but all of the needed information to perform various functions is contained in a format that is easy to work with programatically. That was really my initial goal here.

So, the hash-content field won’t produce the hash. I included it simply to have a plain english version of the text for reading. It has been converted from the original raw text to play nicely within JSON (characters escaped, single lined). The content-b64 is produced using the original raw text. Once decoded it can be passed to a ripemd160 hash function and should produce the hash.

I guess I shouldn’t call that field hash-content… it sounds like you can produce the hash from it but that’s not the case.

So how does this all work within the scheme of the validation script? We’ll produce individual files like every other motion using the new source content for these motions. They will be included in the NuLaws process the same as every other motion. The difference being that when the script tries to validate these individual files (by producing a hash and looking to see if it passed in the blockchain) there will be a condition that looks for the old hash in the blockchain instead of the new one. The purposes of my motion above is to receive consensus from shareholders that this is an acceptable modification to the process.

Other option could be to vote on each of these new hashes all over again, and completely ignore all of the older hashes. Though I think acknowledging this historical change in the code through a single motion is cleaner even if we have to create a special condition in the script for these five motions. The idea being that we won’t ever have to make such a condition again and it will only need to be coded once and left that way.

1 Like

BASE64 of Motion to make the nu source code available:

V2l0aCB0aGUgc3VjY2Vzc2Z1bCBwYXNzYWdlIG9mIHRoaXMgbW90aW9uLCB0aGUgTnUgU2hhcmVo b2xkZXJzWzFdICgiU2hhcmVob2xkZXJzIikgaGF2ZSBpbnN0cnVjdGVkIHRoZSBOdSBEZXZlbG9w bWVudCBUZWFtWzJdICgiRGV2ZWxvcGVycyIpIHRvIG1ha2UgdGhlIE51IHNvdXJjZSBjb2RlIGF2 YWlsYWJsZSB0byB0aGUgZ2VuZXJhbCBwdWJsaWMuIFRoZSB1cGRhdGVkIGxpY2Vuc2Ugd2lsbCBh bGxvdyBmcmVlLCBwZXJtaXNzaXZlIHVzZSBvZiB0aGUgc291cmNlIGNvZGUgaW4gTnUtcmVsYXRl ZCBhbmQgZGVyaXZhdGl2ZSBwcm9qZWN0cy4NCg0KVGhlIE51IHNvdXJjZSBjb2RlIChpbmNsdWRp bmcgdGhlIGNvZGUgdGhhdCBkZXNjcmliZXMgdGhlIHVuZGVybHlpbmcgTnUgbmV0d29yayBwcm90 b2NvbCwgdGhlIGRhZW1vbnMsIHRoZSBHVUlzLCBhbmQgdGhlIGFzc29jaWF0ZWQgc3VwcG9ydCBz eXN0ZW1zIGZvciB0ZXN0aW5nLCBkaXN0cmlidXRpb24sIGFuZCBkZXBsb3ltZW50KSB3aWxsIGlu Y2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 byBjdXJyZW50bHkgaGVsZCBmdW5kcyBhcyB3ZWxsIGFzIGFueSBhZGRpdGlvbmFsIGZ1bmRzIGFj Y2VwdGVkIGZyb20gb3RoZXIgTnUgY3VzdG9kaWFucy4gUmVsZWFzZSBvZiBhbnkgZnVuZHMgYmVp bmcgc3RvcmVkIG9yIG9wZXJhdGVkIHVuZGVyIHRoaXMgZ3JhbnQgd2lsbCBvY2N1ciBvbmx5IGlm IG9uZSBvZiB0aGUgZm9sbG93aW5nIGNvbmRpdGlvbnMgYXJlIG1ldDoNCg0KICAgICAgICBhKSBU aGUgZ3JhbnQgb3BlcmF0b3IgaXMgcmVxdWVzdGVkIGJ5IHNoYXJlaG9sZGVyIG1vdGlvbiB0aGF0 IHNvbWUgb3IgYWxsIGZ1bmRzIGJlIHBlcm1hbmVudGx5IGRlc3Ryb3llZCAoYnVybmVkIHdpdGgg bm8gY29tcGVuc2F0aW9uIHRvIHNoYXJlaG9sZGVycyBvciBjdXN0b2RpYW4pDQogICAgICAgIGIp IFRoZSBncmFudCBvcGVyYXRvciBpcyByZXF1ZXN0ZWQgYnkgc2hhcmVob2xkZXIgbW90aW9uIHRv IHRyYW5zZmVyIHNvbWUgb3IgYWxsIGZ1bmRzIHRvIGEgZGlmZmVyZW50IGN1c3RvZGlhbg0K

1 Like

After a lot of experiments:

BASE64 of Motion to adjust the dividend distribution structure of custodian grant

UHJvcG9zYWwgU3VtbWFyeToKClRoZSBzdWNjZXNzZnVsIHBhc3NhZ2Ugb2YgdGhpcyBtb3Rpb24g d2lsbCBhbHRlciB0aGUgY29udHJhY3QgYmV0d2VlbiB0aGUgY3VzdG9kaWFuIG9mIEdyYW50IEI3 bW1WZFZRMVNOTmNUOXp1UVJLMUIzQ2J2bzh2SGVvQjEgKCJHcmFudCBLVE0iIC0gMSw4MDAsMDAw IE5CVCArIGZlZXMpIGFuZCB0aGUgTnUgU2hhcmVob2xkZXJzIHJlZ2FyZGluZyBob3cgZGl2aWRl bmRzIG9uIHRoZ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IApEaXZpZGVuZCAoYXQg Mi41JSk6IDE5LDgwMCBOQlQKClBlcmlvZDogMTUtQVBSIHRvIDE1LU1BWQpBdmcuIEJ1eS1zaWRl IExpcXVpZGl0eTogNzAwLDAwMCBOQlQKQXZnLiBTZWxsLXNpZGUgTGlxdWlkaXR5OiA4MDAsMDAw IE5CVApEZWNsYXJhdGlvbiBEYXRlOiAxNS1NQVkKSG9sZGVyIG9mIFJlY29yZCBEYXRlOiAwMDow MSBHTVQgb24gMTUtTUFZCkRpc3RyaWJ1dGlvbiBEYXRlIChhcHByb3guKTogMTUtTUFZIHRvIDE3 LU1BWSAKRGl2aWRlbmQgKGF0IDIuNSUpOiAzNyw1MDAgTkJU

@CoinGame

2 Likes

Sweet! Great job! :heart_eyes:

base64 -D 6f361693a7b248730b41d4292f89dc6f6f166bc8.base64 | openssl rmd160
6f361693a7b248730b41d4292f89dc6f6f166bc8

All three verify. Only two remain. Would be lovely if we could avoid hardcoding anything.

Yes I would like to avoid hard coding the changes. I’m not sure how to go about that. Any ideas? I’d like to move this forward. If there’s no objections i’m going to modify the gist to include the motion text at the top and then hash it for voting. From there we can start codifying the existing motions.

I tried billions of combinations last days but without success. Still working on this.

Some clarification about how JordanLee hashed his motion would help a lot.

Hey sorry, which one are you having trouble with?

Would be helpful to know if the motion pattern was followed or not:

<motionhash>
<p>
<code>
=##=##=##=##=##=## Motion hash starts with this line ##=##=##=##=##=##=
</code>
</p>
<p>
<motiontext>
...
</motiontext>
</p>
<p>
<code>
=##=##=##=##=##=## Motion hash ends with this line ##=##=##=##=##=##=
</code>
</p>
</motionhash>

Is there new lines or not?

I’m going to have to admit being really dense here, and I’m going to blame lack of sleep and trying to do too much at once. I had no idea you were posting the base64 of the actual source text to produce to the hashes :smile:. I’m not sure what I was thinking. Thank you so much for figuring that out. @Mark please send me a NBT address when you get a chance.

I’ve updated the NuLawsPrep repo. If we can just figure out these last two we’re golden!

Thank you @CoinGame but I’m doing this for fun.

“Motion to Make the Nu Source Code Available” in motions.json meets twice.

Sorry about that. Should be fixed now.

I also added a quick little python script that goes through and verifies that the decoded b64 hash matches up with the expected hash.

Sorry @CoinGame but I had to be more carefull when read through motions.json
Actually everything was correct. Just first “Motion to Make the Nu Source Code Available” must be “Motion to end LPC operations of KTm, Jamie and NSR sales of Jordan”.