Dash Core  0.12.2.1
P2P Digital Currency
fix-copyright-headers Namespace Reference

Functions

def get_git_date (file_path)
 

Variables

 year = time.gmtime()[0]
 
string CMD_GIT_DATE = 'git log --format=@%%at -1 %s | date +"%%Y" -u -f -'
 
string CMD_REGEX = "perl -pi -e 's/(20\d\d)(?:-20\d\d)? The Bitcoin/$1-%s The Bitcoin/' %s"
 
 REGEX_CURRENT = re.compile("%s The Bitcoin" % year)
 
string CMD_LIST_FILES = "find %s | grep %s"
 
list FOLDERS = ["./qa", "./src"]
 
list EXTENSIONS = [".cpp",".h", ".py"]
 
 file_path = os.getcwd() + file_path[1:-1]
 
def git_date = get_git_date(file_path)
 
int n = n + 1
 

Function Documentation

◆ get_git_date()

def fix-copyright-headers.get_git_date (   file_path)

Definition at line 27 of file fix-copyright-headers.py.

Variable Documentation

◆ CMD_GIT_DATE

string fix-copyright-headers.CMD_GIT_DATE = 'git log --format=@%%at -1 %s | date +"%%Y" -u -f -'

Definition at line 19 of file fix-copyright-headers.py.

◆ CMD_LIST_FILES

string fix-copyright-headers.CMD_LIST_FILES = "find %s | grep %s"

Definition at line 22 of file fix-copyright-headers.py.

◆ CMD_REGEX

string fix-copyright-headers.CMD_REGEX = "perl -pi -e 's/(20\d\d)(?:-20\d\d)? The Bitcoin/$1-%s The Bitcoin/' %s"

Definition at line 20 of file fix-copyright-headers.py.

◆ EXTENSIONS

list fix-copyright-headers.EXTENSIONS = [".cpp",".h", ".py"]

Definition at line 25 of file fix-copyright-headers.py.

◆ file_path

fix-copyright-headers.file_path = os.getcwd() + file_path[1:-1]

Definition at line 38 of file fix-copyright-headers.py.

◆ FOLDERS

list fix-copyright-headers.FOLDERS = ["./qa", "./src"]

Definition at line 24 of file fix-copyright-headers.py.

◆ git_date

def fix-copyright-headers.git_date = get_git_date(file_path)

Definition at line 40 of file fix-copyright-headers.py.

◆ n

int fix-copyright-headers.n = n + 1

Definition at line 46 of file fix-copyright-headers.py.

Referenced by abs64(), CAddrMan.Add_(), AddTimeData(), CTxMemPool.AddTransactionsUpdated(), secure_allocator< T >.allocate(), AppInit2(), prevector< N, T, Size, Diff >.assign(), blake32_close(), bmw32_close(), CHMAC_SHA256.CHMAC_SHA256(), CHMAC_SHA512.CHMAC_SHA512(), CTxOutCompressor.CompressAmount(), CScriptNum.CScriptNum(), CSubNet.CSubNet(), cubehash_close(), zero_after_free_allocator< T >.deallocate(), secure_allocator< T >.deallocate(), CTxOutCompressor.DecompressAmount(), echo_big_close(), echo_small_close(), encode_count_big(), encode_count_small(), EncodeBase32(), CScript.EncodeOP_N(), EvalScript(), finalize_big(), finalize_small(), BitcoinUnits.format(), FormatMoney(), CAddrMan.GetAddr_(), CWallet.GetAddressBalances(), CNetAddr.GetByte(), GetNetworksInfo(), CWallet.GetRealOutpointPrivateSendRounds(), CScript.GetSigOpCount(), GetSizeOfVarInt(), gettxout(), CWalletTx.GetTxTime(), CAddrMan.Good_(), groestl_big_close(), groestl_small_close(), i64tostr(), CDataStream.insert(), InvertLowestOne(), WalletModel.isLockedCoin(), CWallet.IsLockedCoin(), CWallet.IsSpent(), IsStandard(), itostr(), jh_close(), LookupSubNet(), luffa3_close(), luffa4_close(), luffa5_close(), MilliSleep(), base_uint< 256 >.operator*=(), prevector< N, T, Size, Diff >::iterator.operator+(), prevector< N, T, Size, Diff >::const_iterator.operator+(), prevector< N, T, Size, Diff >::iterator.operator+=(), prevector< N, T, Size, Diff >::const_iterator.operator+=(), base_uint< 256 >.operator+=(), prevector< N, T, Size, Diff >::iterator.operator-(), prevector< N, T, Size, Diff >::const_iterator.operator-(), prevector< N, T, Size, Diff >::iterator.operator-=(), prevector< N, T, Size, Diff >::const_iterator.operator-=(), ParseHex(), ParseInt32(), ParseInt64(), ParseScript(), prevector< N, T, Size, Diff >.prevector(), ProcessMessage(), CScript.push_int64(), random_ber_signature(), random_field_element_magnitude(), ReadBinaryFile(), ReadVarInt(), CDataStream.reserve(), CDataStream.resize(), rest_getutxos(), CDataStream.Rewind(), run_wnaf(), scalar_test(), secp256k1_ec_pubkey_combine(), secp256k1_ecdsa_sig_sign(), secp256k1_ecmult(), secp256k1_ecmult_const(), secp256k1_ecmult_odd_multiples_table(), secp256k1_ecmult_odd_multiples_table_storage_var(), secp256k1_fe_inv_var(), secp256k1_gej_add_ge(), secp256k1_hmac_sha256_initialize(), secp256k1_scalar_inverse_var(), secp256k1_scalar_shr_int(), secp256k1_schnorr_partial_combine(), secp256k1_schnorr_sig_combine(), secp256k1_schnorr_sig_sign(), CWallet.SelectCoinsMinConf(), CDataStream.SetType(), CAutoFile.SetType(), CDataStream.SetVersion(), CAutoFile.SetVersion(), shavite_big_close(), shavite_small_close(), Solver(), sph_blake224_addbits_and_close(), sph_blake256_addbits_and_close(), sph_bmw224_addbits_and_close(), sph_bmw256_addbits_and_close(), sph_cubehash224_addbits_and_close(), sph_cubehash256_addbits_and_close(), sph_cubehash384_addbits_and_close(), sph_cubehash512_addbits_and_close(), sph_echo224_addbits_and_close(), sph_echo256_addbits_and_close(), sph_echo384_addbits_and_close(), sph_echo512_addbits_and_close(), sph_groestl224_addbits_and_close(), sph_groestl256_addbits_and_close(), sph_groestl384_addbits_and_close(), sph_groestl512_addbits_and_close(), sph_jh224_addbits_and_close(), sph_jh256_addbits_and_close(), sph_jh384_addbits_and_close(), sph_jh512_addbits_and_close(), sph_keccak224_addbits_and_close(), sph_keccak256_addbits_and_close(), sph_keccak384_addbits_and_close(), sph_keccak512_addbits_and_close(), sph_luffa224_addbits_and_close(), sph_luffa256_addbits_and_close(), sph_luffa384_addbits_and_close(), sph_luffa512_addbits_and_close(), sph_shavite224_addbits_and_close(), sph_shavite256_addbits_and_close(), sph_shavite384_addbits_and_close(), sph_shavite512_addbits_and_close(), sph_simd224_addbits_and_close(), sph_simd256_addbits_and_close(), sph_simd384_addbits_and_close(), sph_simd512_addbits_and_close(), SplitHostPort(), CWallet.SyncMetaData(), test_schnorr_threshold(), CUnsignedAlert.ToString(), CSubNet.ToString(), CAddrMan.Unserialize(), WrapVarInt(), and WriteVarInt().

◆ REGEX_CURRENT

fix-copyright-headers.REGEX_CURRENT = re.compile("%s The Bitcoin" % year)

Definition at line 21 of file fix-copyright-headers.py.

◆ year

fix-copyright-headers.year = time.gmtime()[0]

Definition at line 18 of file fix-copyright-headers.py.