Questions tagged [recursive]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
104 views

Can I make recursive calls using Ethereum Alarm Clock Scheduler? [duplicate]

Answer given here does not provide full solution. Can some one please suggest me if it is practically feasible to execute a method in my smart contract every 24 hours using Ethereum Alarm Clock? You ...
1
vote
1answer
139 views

Simulating DAO recursive/reentrancy attack

Trying to simulate the attack. In my attack contract: function attack() public { target.call(bytes4(keccak256("withdraw()")),amount); } function() payable public { if (msg.sender == ...
0
votes
1answer
31 views

Why doesn't this function work and is there another way to do it?

For the function getAllcars, I wanted to return a struct array. However, it seems this cannot be done (yet). I attempted a workaround by using a recursive function which returns the details of each ...
0
votes
1answer
475 views

Time Specified calls in Solidity using Oraclize

I have started learning coding in Solidity and I have written the below contract using the official Oraclize guidelines. My aim is to: Make the update() function be called on its own on the ...
2
votes
1answer
223 views

Would `throw` prevent this recursive attack?

I am writing a basic contract to split ethereum evenly between two addresses. Within my withdraw() function, I have the following code: function withdraw() { uint256 amount = this.balance / 2; ...
3
votes
2answers
244 views

Is it possible to define a default index for directories hosted by swarm?

I've uploaded my homepage to swarm, using the --recursive flag, i.e.: 0 ✓ user@ursae ~/.src/github.com/5chdn $ swarm --recursive up co/ I0115 11:32:09.046878 upload.go:195] uploading file co/...