Pt 164601244 add hash and signature type #139
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "PT-164601244-add-hash-and-signature-type"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: happi
Also add different types of chain objects (aka addresses).
Created by: hanssv
Review: Dismissed
LGTM
Created by: happi
@hanssv Note that I did not add any ops on these types yet. We should probably at least have hash_to_string and signature_to_string. The hash ops should be string->hash. (and possibly 'A->hash). We can add the ops later when we know exactly what we want.
addresse -> address
addresse -> address
addresse -> address
addresse -> address
addresse -> address
addresse -> address
Review: Commented
I don't know if this is relevant, but I note that this code is using plain base64 and base58 rather than the checked version that is used in the API. This might be very confusing in the end.
Created by: happi
Good catch. I'll update the code to use aeserialization now that it exists.
Created by: hanssv
Review: Approved
Shouldn't you match on the first character as well? Is it really anything?
approved this merge request
Created by: happi
It is either @ or $ but the scanner makes sure of that, matching on that with a when-clause ( C == $$ or c == $@ ) could be done but it would be a bit redundant.
Merged by: happi at 2019-03-25 16:57:13 UTC