Post
Topic
Board Announcements (Altcoins)
Re: BiblePay | Masternodes | Sanctuaries | POBH - ASIC Resistant | 10% ORPHANS
by
bible_pay
on 25/06/2018, 14:31:06 UTC
I found this in the chain on block 2492:

感谢GOD。感谢圣经。感谢电脑。感谢CPU。感谢。。。

Translation:

Thanks GOD. Thanks to the Bible. Thanks for the computer. Thanks CPU.

I'm working on Stratis and these Chinese characters are breaking the chain, so I have to add business logic for the problem.



AFAIK making C#/NET code and databases multibyte compatible should be no big issue. I have made some inroads in the past with russian and chinese compatible databases and it was pretty easy.

I don't know about how far is Stratis codebase from that virtuous approach and surely you are more experienced with it, but if you think I can help you with my experience, you know I'm available for you.


The block store is already OK as it stores the byte arrays in the breeze database, but the issue was the vout[n] transaction message is a standard variable length string (IE a bitcoin varlen string) which stratis partially supports.  The default decoding was set to ASCII and that changed the hash of the transaction.  I changed it to UTF8 and the hashes matched the core client.  So we are OK now.  Stratis syncs to block 1200 or so and then something blew up in there last night, have to look at it again.  Its a great project.