'After the cause of action, whether a tort or a broken contract, not itself prescribing interest till payment, shall have been merged into a judgment, whether interest shall accrue upon the judgment is a matter not of contract between the parties, but of legislative discretion, which is free, so far as the Constitution of the United States is concerned, to provide for interest as a penalty or liqu