6

The block locator is used to synchronize two nodes : each node sends a block locator to the other one at connection initialization, so that they can evaluate how far they are on the blockchain. If they are already up-to-date with the last block, the block locator will be very similar. If one of them is not up-to-date, the block locator will tell them how ...


5

Hopefully the question can be edited to be clearer, but I do think it is worthwhile to provide an explanation of the different passwords that might be used in accessing the ICO tokens for the first time. (first password) To contribute you were asked enter an email and password. These were combined (email+password with no space between) into a case sensitive ...


4

In the documentation on https://tezos.gitlab.io you will find: https://tezos.gitlab.io/introduction/howtouse.html: a description of what Tezos does at a high level under the form of an introductory tutorial targetted at new Tezos users. In https://tezos.gitlab.io/whitedoc/the_big_picture.html: the organisation of the code base. In the rest of the "...


1

Simply use 'sp.now', not 'sp.now()' or anything else. It's not a method, it's an expression that happens to do what you want.


1

As you have already discovered, the sp.now attribute should give you access to the current timestamp. You can see an example of this method in the "Mini-kitties" example that you can load in the SmartPy.io IDE (File > Load Template > Mini Kitties). Specifically in the entry point buy, you'll find: @sp.entryPoint def buy(self, params): kitty = self.data....


1

I also faced same error - "Branch refused" sometimes for contract deployment on tezos network. This error occurs when we use wrong network url. First of all make sure your network provider link is correct. And try by changing gas price and maximum limit values while deploying. This might help you out.


Only top voted, non community-wiki answers of a minimum length are eligible