Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add solution section

Status
colourRed
titleTO WRITE

Potential attacks

...

Recursive call

Status
colourYellow
titleINCOMPLETE

...

In essence, a call that looks like a regular call can easily be turned into a recursive call, and unless the application is coded very carefully, it can be used to make multiple withdrawals when only one should be allowed.

Callstack

 

Copycat

 

Solutions

...

Soft fork

A Softfork is a minor, temporary alteration to the protocol wherein only previously valid blocks/transactions are made invalid. Since old nodes will recognize the new blocks as valid, a softfork is backward-compatible

Basically, it requires only the acquiescence of implementors and miners and need have no long-term repercussions, neither in terms of the code-bases nor in terms of the protocol spec.

 

Hard fork