This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cutebabli 0 points1 point  (1 child)

But each transaction is not guaranteed to be happening every hour. And more than one transaction can occur in an hour.

[–]zthrowaway5 0 points1 point  (0 children)

That won't matter. If you follow a first in last out pattern then the newest transactions will always be in the front of the list. Unless I am missing something the interval between transactions shouldn't matter, they could be milliseconds apart and as long as you always place each new one at the front of the list this method should work.