Info

Download ZIP (34.7 KB)

Testing and Issues

You can test this entry and submit issues during the testing period of the Blockchain Contest contest.

Entries with serious issues will not be able to win the contest, but even minor issues might be important for overall results.

Voting

36

Comments

1. Input N public keys can be given in human-readable file public_keys.txt
2. nice boc file parser and reader
3. merge_order.fif merges offline boc files
4. nice fift libraries for easy use
5. quick automation with 1. 2. 3. 4. scripts
8
You have not added any comments yet...
by rating

Issues

Magic Python Oct 30, 2019 at 07:59
Tested an order (n=16, k=10). The transaction was processed, but no message was sent.
EQAL/4f692sYBOIQVYVNtIDo4fmq7JtdrfKWCpa8GjzCnKWz

UPD: I guess i my case it didn't work because of
"TODO check against k and execute if create order came with multiple signatures "
11
Sweet Rhino Oct 30, 2019 at 08:10
Even though the msg constructed according to the example in fift:
    <b
        b{01} s,
        true 1 i,
        b{000100} s,
        recipient-address-bounce @ recipient-address @ addr,
        amount @ 32 u,
        order-id @ 32 u,
    b>
and sent with func as:
int mode = 2;
send_raw_message(order_msg, mode);

it does not work. Firstly we though it's due to a network delay, because there were no errors, but lately we recognized that it's an issue.

Btw, testnet is very fast and local testing with runvm is awesome.
As I see accept_message is called before any signature check
1
Sweet Rhino Oct 17, 2019 at 20:11
Thanks for the comment.
Signature check is commented out and marked with TODO. So there is no signature check.

At the same accept_message in contract creation phase is in a good place. We know that it should be after signature check.
Magic Python Nov 4, 2019 at 10:55
plus:
Very fast (0.04G for a transfer with n=16, k=10). But not signatures verification. Also, no message was sent.
(probably because of "TODO check against k and execute if create order came with multiple signatures")
Tests

minus:
No message was sent.
A signature check is commented. In commented code signature is included in hash protected by the signature.
Not all features are implemented (merge signatures)
1
Nobody added any issues yet...