aboutsummaryrefslogtreecommitdiffstats
path: root/consensus/ethash/ethash.go
diff options
context:
space:
mode:
Diffstat (limited to 'consensus/ethash/ethash.go')
-rw-r--r--consensus/ethash/ethash.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/consensus/ethash/ethash.go b/consensus/ethash/ethash.go
index b028f50e6..94a9ea332 100644
--- a/consensus/ethash/ethash.go
+++ b/consensus/ethash/ethash.go
@@ -467,8 +467,9 @@ func (ethash *Ethash) cache(block uint64) []uint32 {
future = &cache{epoch: epoch + 1}
ethash.fcache = future
}
+ // New current cache, set its initial timestamp
+ current.used = time.Now()
}
- current.used = time.Now()
ethash.lock.Unlock()
// Wait for generation finish, bump the timestamp and finalize the cache
@@ -529,8 +530,9 @@ func (ethash *Ethash) dataset(block uint64) []uint32 {
future = &dataset{epoch: epoch + 1}
ethash.fdataset = future
}
+ // New current dataset, set its initial timestamp
+ current.used = time.Now()
}
- current.used = time.Now()
ethash.lock.Unlock()
// Wait for generation finish, bump the timestamp and finalize the cache
<swills@FreeBSD.org> 2015-08-10 04:39:07 +0800 committer swills <swills@FreeBSD.org> 2015-08-10 04:39:07 +0800 security/rubygem-ruby-saml: create port' href='/~lantw44/cgit/freebsd-ports/commit/security/rubygem-ruby-saml/Makefile?id=59a4cfef719f78e0b860001b8a0cda13b7686040'>59a4cfef719f
f5485438dc09
59a4cfef719f





99369629867a


2ff80f55375e

59a4cfef719f






1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
                                                        


                         
                     





                                              


                                 

                                                                    






                           
# Created by: Torsten Zuhlsdorff <ports@toco-domains.de>
# $FreeBSD$

PORTNAME=   ruby-saml
PORTVERSION=    1.1.2
CATEGORIES= security rubygems
MASTER_SITES=   RG

MAINTAINER= ruby@FreeBSD.org
COMMENT=    SAML toolkit for Ruby on Rails

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

RUN_DEPENDS=    rubygem-nokogiri>=1.5.10:textproc/rubygem-nokogiri \
        rubygem-uuid>=2.3:devel/rubygem-uuid

NO_ARCH=    yes
USE_RUBY=   yes
USE_RUBYGEMS=   yes
RUBYGEM_AUTOPLIST=  yes

.include <bsd.port.mk>