Author

Topic: pow/pos code (Read 896 times)

full member
Activity: 183
Merit: 100
October 29, 2014, 05:21:57 AM
#7
Quote
auto_ptr pblock(CreateNewBlock(pwallet, true, &nFees));
        bool b = pblock->IsProofOfStake();

why  b = false?


I was told that C++ developers are able to read the code Wink

see u   :)https://bitcointalk.org/index.php?topic=734477.msg9366387#msg9366387.
I am  sorry  that  delete  all

it  is  should b= true.

If you read through CreateNewBlock implementation you should get why it is false.

yes.I  had  get  why.

but pos  coin ,in pos  phase ,it    should  is  true. if  not,in   pos  phase  how   generate  a  new  block.?



Read the code. This way you achieve two things:

  • you study how other people are using the language (so, you are studying the language);
  • you get understanding how the program works.

Exactly the same way as you study the natural language: you are reading books in a first place.


yes  i  am  understanding  the  pos  coin  program  how  to works.
it  is  very  important  thar come  true por by  the  way learn  pos

pow->pos->por Smiley


the  sdc  program  can  works.  it is very  surprise
hero member
Activity: 574
Merit: 523
October 29, 2014, 05:02:46 AM
#6
Quote
auto_ptr pblock(CreateNewBlock(pwallet, true, &nFees));
        bool b = pblock->IsProofOfStake();

why  b = false?


I was told that C++ developers are able to read the code Wink

see u   :)https://bitcointalk.org/index.php?topic=734477.msg9366387#msg9366387.
I am  sorry  that  delete  all

it  is  should b= true.

If you read through CreateNewBlock implementation you should get why it is false.

yes.I  had  get  why.

but pos  coin ,in pos  phase ,it    should  is  true. if  not,in   pos  phase  how   generate  a  new  block.?



Read the code. This way you achieve two things:

  • you study how other people are using the language (so, you are studying the language);
  • you get understanding how the program works.

Exactly the same way as you study the natural language: you are reading books in a first place.
full member
Activity: 183
Merit: 100
October 29, 2014, 04:59:25 AM
#5
Quote
auto_ptr pblock(CreateNewBlock(pwallet, true, &nFees));
        bool b = pblock->IsProofOfStake();

why  b = false?


I was told that C++ developers are able to read the code Wink

see u   :)https://bitcointalk.org/index.php?topic=734477.msg9366387#msg9366387.
I am  sorry  that  delete  all

it  is  should b= true.

If you read through CreateNewBlock implementation you should get why it is false.

yes.I  had  get  why.

but pos  coin ,in pos  phase ,it    should  is  true. if  not,in   pos  phase  how   generate  a  new  block.?

hero member
Activity: 574
Merit: 523
October 29, 2014, 04:27:50 AM
#4
Quote
auto_ptr pblock(CreateNewBlock(pwallet, true, &nFees));
        bool b = pblock->IsProofOfStake();

why  b = false?


I was told that C++ developers are able to read the code Wink

see u   :)https://bitcointalk.org/index.php?topic=734477.msg9366387#msg9366387.
I am  sorry  that  delete  all

it  is  should b= true.

If you read through CreateNewBlock implementation you should get why it is false.
full member
Activity: 183
Merit: 100
October 29, 2014, 04:24:59 AM
#3
Quote
auto_ptr pblock(CreateNewBlock(pwallet, true, &nFees));
        bool b = pblock->IsProofOfStake();

why  b = false?


I was told that C++ developers are able to read the code Wink

see u   :)https://bitcointalk.org/index.php?topic=734477.msg9366387#msg9366387.
I am  sorry  that  delete  all

it  is  should b= true.
hero member
Activity: 574
Merit: 523
October 29, 2014, 04:15:55 AM
#2
Quote
auto_ptr pblock(CreateNewBlock(pwallet, true, &nFees));
        bool b = pblock->IsProofOfStake();

why  b = false?


I was told that C++ developers are able to read the code Wink
full member
Activity: 183
Merit: 100
October 29, 2014, 03:18:57 AM
#1
Quote
auto_ptr pblock(CreateNewBlock(pwallet, true, &nFees));
        bool b = pblock->IsProofOfStake();

why  b = false?
Jump to: