package coop.rchain.casper.helper

import java.nio.ByteBuffer
import java.nio.file.{Files, Path
, Paths}
import java.util.concurrent.TimeUnit

import scala.concurrent.duration._
import scala.util.control.NonFatal

import com.google.common.base.Throwables
import com.google.common.io.Files.{createTempFile