Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - crazybit

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 12 13 ... 29
76
upgraded and published the price feed.

77
中文 (Chinese) / Re: Top100,1000变化图
« on: August 31, 2014, 03:04:45 am »
每天最后一个块时的数据,不是平均。
y 轴数据怎么算?

78
中文 (Chinese) / Re: Top100,1000变化图
« on: August 31, 2014, 02:30:18 am »
你的统计公式是怎么样的?计算top 100然后求平均?

80
General Discussion / Re: 0.4.10 Testers Wanted
« on: August 30, 2014, 11:56:08 pm »
DAC Sun,

Suppose most of the delegates do not use the binary of the new version your provided but use git to pull the change,so please provide the following infor after you announce the new version, such that the delegates could confirm they have upgraded to the correct version.

btw,my delegates node have been upgrade to 0.4.10


crazybit (unlocked) >>> about
{
  "bitshares_toolkit_revision": "1ed1a6b07153e3ce5916be46f859302a1b50a4b0",
  "bitshares_toolkit_revision_age": "2 hours ago",
  "fc_revision": "3222dc7c0be62b9ad0fdfd303c5c4f53b39063e6",
  "fc_revision_age": "53 hours ago",
  "compile_date": "compiled on Aug 31 2014 at 08:12:26"
}

81
KeyID / Re: [DNS] test network for advanced users
« on: August 29, 2014, 05:53:15 am »
this one does not use the real snapshot, just some keys I had. post for funds, a few people have them

KEY5FDpj2TQZCoha4Q7SpJx6ZbM3o9xb1zHoT7kPmQSSGj8zMvctJ

please give me some test fund, thanks

82
KeyID / Re: [DNS] test network for advanced users
« on: August 29, 2014, 05:16:58 am »
does the genesis of DNS test network use the AGS/PTS snapshot?

83
Technical Support / Re: bitshares toolkit serialization
« on: August 28, 2014, 02:25:41 pm »
Code: [Select]
struct test
{
     int a;
     string b;
     vector<string> c;
}

FC_REFLECT( test, (a)(b)(c) )

In binary converts to:

4 bytes for a
VARINT  storing b.size()
b.size bytes string content of b
VARINT  storing c.size()
for( c.size() )
{
       VARINT  storing c.size()
       c.size bytes string content of c
}

wow, the sample is quite easy to understand,thank you very much.

84
Technical Support / Re: bitshares toolkit serialization
« on: August 28, 2014, 02:07:02 pm »
it is difficult for me to understand the bitshares tookit serialization mechanism and technology, would be appreciated if anyone can provide some guidence /documentation

Sure...  100% of all serialization is managed by fc via the reflection system.
Looking at the structure definition is enough to infer the serialization.
Data is serialized in the order listed in the FC_REFLECT macro
Strings & Arrays are prefixed with a variable length int that uses the same encoding as google protocol buffers.

In binary terms the data is simply copied with the same byte order as the host.. ie: it will not work on big endian systems.

Check out FC_REFLECT and fc/io/raw.hpp which defines the "raw binary" serialization based upon reflection.

thanks for your reply.

yes, i know the serialization in bitshares is managed by fc via the reflection system. i am also checking macro FC_REFLECT and fc/io/raw.hpp, but it is difficult for me to understand the c++ generic  programming and the macro(i am a java programmer :(  , is the reflection in FC same with boost reflection? is there any documentation i can refer to?

85
Technical Support / bitshares toolkit serialization
« on: August 28, 2014, 01:20:01 pm »
it is difficult for me to understand the bitshares tookit serialization mechanism and technology, would be appreciated if anyone can provide some guidence /documentation

86
BTSX addresses are not used anywhere in the API...  we use the public keys for the accounts, but there is no way to convert an address to a public key (address is hash of public key)

BM, how does the toolkit generates the balance id from the existing btc/pts address in genesis block?similar to the following logic? is  the balance id same with balance record owner ?

balance id =ripemd160(sha512(hash of public key))


87
General Discussion / Re: many init delegates are down
« on: August 28, 2014, 09:03:27 am »
This actually makes a lot of sense.
And the init delegates were stable so far.
Perhaps they will prevent this for the future.

many init delegates are down again, who can help to nofiy DAC Sun?

89
done

90
General Discussion / Re: many init delegates are down
« on: August 25, 2014, 01:03:46 pm »
they will probably know once s.o. gets up .. anyway .. doesn't hurt the network too much as there are 101 delegates in total  :)

BM already told them to fix the redundandy :)

i think every delegate should be monitored, my delegates are all under monitoring, SMS will be delivered to my phone once my delegate is down. i had been wake up 2 times by the SMS alert due to the client crashing  at midnight last weekend  . : (

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 12 13 ... 29