repo.or.cz
/
bitcoinplatinum.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Document assumptions that are being made to avoid NULL pointer dereferences
2017-09-06
practicalswift
Document assumptions t
h
at are
b
eing made to avoid NULL
.
.
.
commit
|
commitdiff
|
tree
2017-08-28
p
r
acticalswift
U
s
e
for
-
loop instea
d
of list compr
e
hension
commit
|
commitdiff
|
tree
2017-08-28
pra
c
ticalsw
i
ft
Use
t
he
v
aria
b
le name
_
for un
u
s
e
d
r
eturn v
a
lues
commit
|
commitdiff
|
tree
2017-08-28
practic
a
lswift
Remove unused variables and/or fu
n
ction calls
commit
|
commitdiff
|
tree
2017-08-28
practicalswif
t
Avo
i
d reference to undefine
d
n
a
m
e:
s
tderr
doe
s
not
.
.
.
commit
|
commitdiff
|
tree
2017-08-28
pra
c
tic
a
l
s
w
ift
Use print(
.
.
.
) instead of undefine
d
prin
t
f
(
.
.
.
)
commit
|
commitdiff
|
tree
2017-08-28
practica
l
swift
Use sys
.
exit(
.
.
.
)
instead o
f
e
xit(
.
.
.
):
exit(
.
.
.
) sh
o
uld
.
.
.
commit
|
commitdiff
|
tree
2017-08-22
pract
i
calswif
t
A
dd recomm
e
ndati
o
n: By default, de
c
lar
e
single-argument
.
.
.
commit
|
commitdiff
|
tree
2017-08-19
practi
c
alswi
f
t
B
uild
w
it
h
--enable-werro
r
under OS
X
commit
|
commitdiff
|
tree
2017-08-18
practicalswift
Docum
e
nt t
h
e prefer
e
n
c
e of n
u
llptr over
N
ULL or (voi
d
*)0
commit
|
commitdiff
|
tree
2017-08-16
practicalswift
Pr
e
fer compile-ti
m
e
che
c
ki
n
g over
r
un-
t
ime checkin
g
commit
|
commitdiff
|
tree
2017-08-16
p
r
acticalsw
i
ft
Declare single-ar
g
um
e
nt
(
non-c
o
nverting) con
s
tructors
.
.
.
commit
|
commitdiff
|
tree
2017-08-16
practicalswift
Use nullptr instead of zero (
0
) as the null pointer
.
.
.
commit
|
commitdiff
|
tree
2017-08-14
practicalswift
wallet
:
Fi
x
memory leak when
loading a corrupted w
a
l
l
et
.
.
.
commit
|
commitdiff
|
tree
2017-08-14
prac
t
ical
s
w
i
ft
te
s
t
s
: Remove OldSetKe
y
F
romPa
s
sp
h
r
ase/
O
ldEncrypt/Old
D
e
crypt
commit
|
commitdiff
|
tree
2017-08-09
pr
a
cti
c
als
w
if
t
Remove t
h
e vir
t
ual specifier for functions w
i
th the
.
.
.
commit
|
commitdiff
|
tree
2017-08-08
p
r
acticalsw
i
f
t
Fix typo
s
.
commit
|
commitdiff
|
tree
2017-08-07
p
r
actica
l
s
w
ift
scri
p
ted-
d
i
f
f: Us
e
the C++11 keyword n
u
l
lp
t
r t
o
d
e
note
.
.
.
commit
|
commitdiff
|
tree
2017-08-02
practicalswift
[net] Fix
u
se of uninit
i
alized value
i
n getne
t
worki
n
fo
.
.
.
commit
|
commitdiff
|
tree
2017-08-02
pract
i
calswift
Pass SendC
o
insRecipi
e
nt (208 bytes) by co
n
st
r
efere
n
ce
commit
|
commitdiff
|
tree
2017-08-01
prac
t
i
c
a
l
swift
Av
o
id retur
n
in
g
a B
I
P9Stats object with un
i
nitialized
.
.
.
commit
|
commitdiff
|
tree
2017-07-31
p
racticalswift
Re
s
tore default format state of cout after printing
.
.
.
commit
|
commitdiff
|
tree
2017-07-31
practicalsw
i
ft
Use
t
he noexcept sp
e
cifier (C++11) instead of
d
epr
e
c
ated
.
.
.
commit
|
commitdiff
|
tree
2017-07-25
practicalswift
[tests] Fix incorrect memory_cleanse
(
…) call in cryp
t
o_tests
.
cpp
commit
|
commitdiff
|
tree
2017-07-25
practica
l
swift
Ad
d
const
to methods that do
not m
o
dify t
h
e ob
j
ec
t
.
.
.
commit
|
commitdiff
|
tree
2017-07-18
practicalswift
Avoi
d
redundan
t
redeclara
t
i
o
n of GetWarnings
(
cons
t
.
.
.
commit
|
commitdiff
|
tree
2017-07-18
pr
a
cticalswift
Fix typo:
"
c
ondi
t
o
n
"
→ "condition"
commit
|
commitdiff
|
tree
2017-07-18
practicals
w
ift
R
e
m
ove unu
s
e
d
variable int64_t nEnd
commit
|
commitdiff
|
tree
2017-07-17
p
r
acticalsw
i
ft
Add attribute [[
n
oreturn]]
(C++11) to functions
t
h
at
.
.
.
commit
|
commitdiff
|
tree
2017-07-17
p
racticalswift
En
a
ble devirtualization oppo
r
tunities by using
the
.
.
.
commit
|
commitdiff
|
tree
2017-07-16
pra
c
ticalsw
i
ft
Fix i
n
cor
r
ect Doxygen tag (@i
n
ce → @sin
c
e)
.
Make Doxygen
.
.
.
commit
|
commitdiff
|
tree
2017-07-16
practi
c
alswift
Remove
dup
l
icate inclu
d
e
commit
|
commitdiff
|
tree
2017-07-15
p
racticalswi
f
t
Remo
v
e
declaration of unuse
d
fun
c
tion: void Upd
a
tedTran
s
acti
.
.
.
commit
|
commitdiff
|
tree
2017-07-15
practi
c
al
s
wift
Fix t
y
p
o
s
commit
|
commitdiff
|
tree
2017-07-15
practicalswift
A
v
o
i
d static analyzer warnings reg
a
rding un
i
nitialized
.
.
.
commit
|
commitdiff
|
tree
2017-07-09
prac
t
icalswift
Simplify "!foo || (foo &&
bar)" as
"
!f
o
o || bar"
commit
|
commitdiff
|
tree
2017-07-09
prac
t
icalswi
f
t
[tests] Avoid redundant
as
s
ignmen
t
s
.
Remove unused
.
.
.
commit
|
commitdiff
|
tree
2017-07-02
p
r
acticalswift
Avoid
pr
i
nting incorrect
blo
c
k
ind
e
xi
n
g t
i
me due to
.
.
.
commit
|
commitdiff
|
tree
2017-06-28
practicalswift
Use the ov
e
rride specifier (C
+
+11) where we e
x
pect
.
.
.
commit
|
commitdiff
|
tree
2017-06-27
p
racticalswi
f
t
[q
t
] Avoid
po
t
enti
a
l
null
p
o
i
n
ter derefe
r
ence in T
r
a
nsaction
.
.
.
commit
|
commitdiff
|
tree
2017-06-21
pra
c
ticals
w
ift
Remove
obsol
e
t
e
_MSC_VER
c
h
e
ck
commit
|
commitdiff
|
tree
2017-06-15
practica
l
swift
M
ake
clang-for
m
at use C++
1
1 features
(e
.
g
.
A<A<int
.
.
.
commit
|
commitdiff
|
tree
2017-06-14
practicalswift
N
et: Fix resource leak in ReadBinaryFile(
.
.
.
)
commit
|
commitdiff
|
tree
2017-06-12
practicalswift
R
e
move unneces
s
ary forward class declarations i
n
h
eader
.
.
.
commit
|
commitdiff
|
tree
2017-06-12
pr
a
ctic
a
lswift
Remove
u
nreachab
l
e o
r
otherwise redundant code
commit
|
commitdiff
|
tree
2017-06-11
practicalswift
S
i
mpl
i
f
y "bool x
= y ?
t
r
ue :
f
a
lse" to "
b
ool x
= y"
commit
|
commitdiff
|
tree
2017-06-09
p
r
ac
t
i
c
a
lswift
Remove dupli
c
a
te includes
commit
|
commitdiff
|
tree
2017-06-09
p
r
actic
a
l
swif
t
C
omment out u
n
used c
o
n
stant RE
J
ECT_DUST
commit
|
commitdiff
|
tree
2017-06-09
p
ra
c
ticalswift
Use
t
h
e
"dom
a
in nam
e
s
et
u
p
" image
(previously unused
.
.
.
commit
|
commitdiff
|
tree
2017-06-09
practica
l
swift
Remove unused
B
o
o
st i
n
c
lude
s
commit
|
commitdiff
|
tree
2017-06-08
pract
i
calswift
Rem
o
v
e
un
u
se
d
constan
t
MEMPOOL_GD_VERSIO
N
commit
|
commitdiff
|
tree
2017-06-08
p
r
actic
a
l
s
wift
[
tests] Remove ac
c
idental
t
railing se
m
icolon
commit
|
commitdiff
|
tree
2017-06-08
p
ract
i
calswift
[
t
e
sts]
Remo
v
e unused
function InsecureRandBy
t
es(siz
e
_
t
.
.
.
commit
|
commitdiff
|
tree
2017-06-07
prac
t
icalswift
[te
s
ts] Remove
p
rintf(
.
.
.
)
commit
|
commitdiff
|
tree
2017-06-07
pr
a
c
t
ical
s
wift
[tests]
U
se FastRandomConte
x
t i
n
stead of boost::ran
d
om
.
.
.
commit
|
commitdiff
|
tree
2017-06-07
practica
l
swif
t
Use std::unordered_{map,set} (C++11) instead of bo
o
st
.
.
.
commit
|
commitdiff
|
tree
2017-06-06
practic
a
lswift
Use list init
i
ali
z
a
t
ion (C++11
)
for maps/ve
c
to
r
s instead
.
.
.
commit
|
commitdiff
|
tree
2017-06-06
practicalswift
[
t
rivia
l
] Fi
x
typo: "
o
ccurrences" (misspelled as "
o
ccurrances")
commit
|
commitdiff
|
tree
2017-06-04
practical
s
wift
Limit v
a
riab
l
e scope
commit
|
commitdiff
|
tree
2017-06-03
p
racticalsw
i
ft
Perform member i
n
itialization in initializa
t
ion
lists
.
.
.
commit
|
commitdiff
|
tree
2017-06-03
practicalswift
Remove unused variabl
e
s
commit
|
commitdiff
|
tree
2017-05-31
practical
s
wift
[tri
v
ial]
Add
e
nd of namespace comments
commit
|
commitdiff
|
tree
2017-05-23
pract
i
c
al
s
wift
[
t
r
i
v
ial] Fix three
recently intr
o
du
c
ed typos
commit
|
commitdiff
|
tree
2017-05-19
practic
a
lswift
U
s
e range-based for
l
oop
s
(C++11)
w
hen
looping
o
ver
.
.
.
commit
|
commitdiff
|
tree
2017-05-19
pract
i
calswift
[t
e
s
t
]
Sp
e
e
d up
fuzzing
by ~200x w
h
en using afl
-
fuzz
commit
|
commitdiff
|
tree
2017-05-18
pr
a
ctica
l
swi
f
t
[qt]
R
emove
e
xce
s
s logic
commit
|
commitdiff
|
tree
2017-05-13
practic
a
lswift
Replace boost::function wit
h
std::function (C++
1
1)
commit
|
commitdiff
|
tree
2017-05-02
prac
t
icalswi
f
t
R
e
move unused argument from MarkBlockAsIn
F
ligh
t
(
.
.
.
)
commit
|
commitdiff
|
tree
2017-05-02
practicalswift
Remove unused Python im
p
orts
commit
|
commitdiff
|
tree
2017-05-02
p
r
actic
a
lswift
Remove
unu
s
ed forward de
c
l
a
ratio
n
for non-
e
xi
s
tent
.
.
.
commit
|
commitdiff
|
tree
2017-04-26
pra
c
tical
s
wift
Remove unused
C
++ code no
t
covered
by uni
t
tests
commit
|
commitdiff
|
tree
2017-04-10
p
r
ac
t
i
c
alswift
[trivial]
F
ix typos
(
te
m
poarily →
t
emporaril
y
,
inadvertantly
.
.
.
commit
|
commitdiff
|
tree
2017-04-10
practicalswift
Remove exc
e
ss
l
ogi
c
.
commit
|
commitdiff
|
tree
2017-04-07
practicals
w
i
ft
[tr
i
v
ial] Fi
x
typo ("i
m
prossible" →
"i
m
possible")
commit
|
commitdiff
|
tree
2017-04-04
practicalswift
R
e
move accid
e
ntal trail
i
ng
s
emi
c
o
lons
commit
|
commitdiff
|
tree
2017-04-04
practicalswift
Rem
o
ve unused
import
commit
|
commitdiff
|
tree
2017-04-02
practic
a
l
swift
[rpc]
R
emo
v
e a
u
th cookie on shutdow
n
commit
|
commitdiff
|
tree
2017-03-28
p
r
acticalswift
Remove call to g
e
ttransa
c
t
i
on(
.
.
.
) where t
h
e result
.
.
.
commit
|
commitdiff
|
tree
2017-03-28
practicalswif
t
Remove acci
d
e
ntal trail
i
n
g semicol
o
ns in Python code
commit
|
commitdiff
|
tree
2017-03-22
practic
a
lswift
[
t
ests]
R
emov
e
u
n
u
sed variables
commit
|
commitdiff
|
tree
2017-03-22
prac
t
icalswift
[te
s
t
s] Remov
e
unused and du
p
licate imports
commit
|
commitdiff
|
tree
2017-03-21
p
r
acticals
w
ift
[tr
i
via
l
] F
i
x ty
p
o
s
in commen
t
s
commit
|
commitdiff
|
tree
2017-03-19
pr
a
ct
i
ca
l
swift
Fix paramet
e
r
namin
g
inconsisten
c
i
es
b
etwee
n
.
h and
.
.
.
commit
|
commitdiff
|
tree
2017-03-18
p
racticalswift
Set to nullptr after delete
commit
|
commitdiff
|
tree
2017-03-17
practica
l
swift
Remo
v
e unused code
commit
|
commitdiff
|
tree
2017-03-16
practicalswift
[trivial]
F
ix
a
typo (introduce
d
two days ago) i
n
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2017-03-09
practicalswift
[util] Remove redun
d
a
nt ca
l
l to get(
)
on
smart point
e
r
.
.
.
commit
|
commitdiff
|
tree
2017-03-09
practicalswift
[
trival] Fix typo introduced
into r
p
c/p
r
otocol
.
h in
.
.
.
commit
|
commitdiff
|
tree
2017-03-09
prac
t
icalswift
Remove unreachab
l
e
code (g_rpcSignal
s
.
P
ostCommand
)
commit
|
commitdiff
|
tree
2017-03-08
practicalswi
f
t
[ben
c
h] Avoid functi
o
n cal
l
argume
n
ts w
h
ich
a
re po
i
n
t
e
r
s
.
.
.
commit
|
commitdiff
|
tree
2017-03-07
pra
c
ti
c
alswift
[trivial] Fix
t
ypos in
t
roduced in 7184e25c80aa8b1629a700bb7a
.
.
.
commit
|
commitdiff
|
tree
2017-02-28
p
r
acticalswift
[wallet] R
e
m
ove redundant initiali
z
ation
commit
|
commitdiff
|
tree
2017-02-28
practicalswi
f
t
[net] Avoid poss
i
bility of NU
L
L poin
t
er dereference
.
.
.
commit
|
commitdiff
|
tree
2017-02-28
p
r
a
cticalswif
t
[net] Avoid initia
l
ization to a
value tha
t
is
n
ever
.
.
.
commit
|
commitdiff
|
tree
2017-02-14
p
r
acticalswift
[trivial] Fix recent
l
y intr
o
d
u
ced typos in comments
commit
|
commitdiff
|
tree
2017-02-07
practicalswift
Use z = std
:
:ma
x
(
x - y, 0); instead of z
= x - y;
i
f
.
.
.
commit
|
commitdiff
|
tree
2017-02-02
practic
a
l
s
w
i
f
t
Assert that what migh
t
look like
a
possi
b
l
e division
.
.
.
commit
|
commitdiff
|
tree
2017-01-29
pr
a
c
t
i
calswi
f
t
Fix typos
commit
|
commitdiff
|
tree
2017-01-27
practicalswi
f
t
[t
r
iv
i
al]
Fix
typos in comments
commit
|
commitdiff
|
tree
2017-01-21
practicalswift
[
t
est
]
Avoid
r
eading a potentially uninitialized var
i
able
.
.
.
commit
|
commitdiff
|
tree
next