Curious. I am running a rippled node and I noted that the section under "ledger history" was not set (ie: commented out) and online_delete was set to 2000, which seems to be the default.
Trying to do this request of "getTransactions" using ripple-lib, I found I was getting this error when hitting my rippled node.
I was a bit puzzled, as wouldn't I get at least SOME history even if it is an empty set? I even deliberately created a new TX and sent it, waited a while, and then did "getTransactions" but still got our familiar error from ripple-lib:
[MissingLedgerHistoryError(Server is missing ledger history in the specified range)]
I went ahead and changed the settings in the node's rippled.cfg so that ledger_history was set to full and online_delete was set to "1000000000" (without quotes, which is 1 billion). I then restarted rippled. I figured this would resolve it.
But upon running "getTransactions", I am still getting the exact same error. I tried again to send another tx just to "create" history, but it makes no difference.
What am I missing here? Do I need to delete the node's entire DB and have it "restart from scratch"? I am pretty puzzled.